LINKSTAT

Section: System Administrator's Manual (8)
Updated: June 2005
Index

 

NAME

linkstat - log accessibility status of a destination

 

SYNOPSIS

linkstat [ {-s|-o logfile} ] [ OPTIONS ] host

 

DESCRIPTION

The point of this utility is to log link outages. It will ping whoever you want, however often you want; when they don't answer a few times in a row, they're considered down; when they anser a few times in a row, they are considered up. By default, linkstat logs to stdout, sends probes every second, and changes state after 3 consecutive probes return the opposite of the current status.

 

OPTIONS

-h
Prints a help message and exits.
-s
Tells linkstat to log to syslog(3).
-o logfile
Tells linkstat to log to logfile.
-t tos
Set TOS value used in outgoing pings (defaults to 0).
-i time
Sets the time between pings, which is also how long we wait for a reply. The value is in seconds, and accepts floating point values. The default is 1, and linkstat won't accept a lower value unless you edit the source and recompile (to prevent ping floods by means of a stupid mistake).
-n num
Sets the number of consecutive results needed for a state change (defaults to 3).
-f facility
If logging to syslog, the name of the facility to use (defaults to user). Acceptable values can be found in syslog(3). This option implies -s.
-l level
If logging to syslog, the name of the log level to use (defaults to warning). Acceptable values can be found in syslog(3).

 

SEE ALSO

ip(7), syslog(3), raw(7)

 

AUTHOR

Alexey Toptygin, alexeyt at freeshell.org


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 01:59:17 GMT, June 15, 2005