diff options
author | Keuin <[email protected]> | 2021-12-30 12:20:42 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2021-12-30 12:20:42 +0800 |
commit | b3fd60e6407b3af029672218b0bff7bb30e7a9d9 (patch) | |
tree | 1536fec6761b9913a47117725fd5b4b5f70caa62 /README.txt | |
parent | 5651bc231389ebfa05e3750a431b33c28f4ed205 (diff) |
Add ping check (-p).
Support custom error handling command (-c).
Add runtime params validation for logging.
Diffstat (limited to 'README.txt')
-rw-r--r-- | README.txt | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |