]> git.tdb.fi Git - netmon.git/blob - Readme.txt
Request default POSIX features from system headers
[netmon.git] / Readme.txt
1 netmon - a simple network connectivity monitor
2 Copyright © 2008-2016 Mikko Rasa, Mikkosoft Productions
3
4 Netmon keeps track of the machine's network connection status.  It can
5 passively monitor network traffic with libpcap or actively ping a target
6 machine.  It can also run an external command when the network goes down,
7 for example to reset an ADSL modem in an effort to bring the connection
8 back up.
9
10 Command-line options:
11   -f
12     Run in foreground (by default netmon daemonizes itself)
13
14   -v
15     Be more verbose
16
17   -p HOST
18     Send a ping to HOST every second
19
20   -s NUM
21     Reports packet loss statistics every NUM seconds (default 1800, only
22     works if pinging is enabled)
23
24   -i NAME
25     Monitor packets on interface NAME
26
27   -c CMD
28     Run CMD if the connection goes down
29
30   -t NUM[,NUM]
31     Sets the delay and interval (in seconds) for running the trigger
32     command (default 60 and 600)