summaryrefslogtreecommitdiff
path: root/README.txt
diff options
context:
space:
mode:
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.txt b/README.txt
index 79320f7..4d11242 100644
--- a/README.txt
+++ b/README.txt
@@ -1,10 +1,12 @@
Usage:
- netmon [-t <check_interval>] [-n <max_failure>] [-l <log_file>] [-d]
+ netmon [-t <check_interval>] [-n <max_failure>] [-l <log_file>] [-c <cmd>] [-p <ping_host>] [-d]
-t <check_interval> specify how many seconds to wait between two checks
-n <max_failure> specify how many continous network failures we get until we reboot the system
-l <log_file> specify the log file
+ -c <cmd> the command line to be executed when network failure is detected
+ -p <ping_host> test the network by pinging given host
-d run as a daemon process