diff options
author | Keuin <[email protected]> | 2023-01-21 01:34:58 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2023-01-21 01:40:19 +0800 |
commit | c3122720152bb00e7c0e0fb86fd2d94a23c4abf9 (patch) | |
tree | 0b5f73c4622e482dab7206dc8b31bf0ccc4bddd6 /README.txt | |
parent | 2e699d04ad816a401fb481a619e9a3b13dbb9a5e (diff) |
Diffstat (limited to 'README.txt')
-rw-r--r-- | README.txt | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -1,15 +1,19 @@ Usage: - netmon [-t <check_interval>] [-n <max_failure>] [-l <log_file>] [-c <cmd>] [-p <ping_host>] [-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 + -n <max_failure> specify how many continuous network failures we get + before we reboot the system -l <log_file> specify the log file - -c <cmd> the command line to be executed when network failure is detected + -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 Debugging: - Declare macro `DEBUG` to enable debug level logging. This is enabled in CMake task by default. + Declare macro `DEBUG` to enable debug level logging. + This is enabled in CMake task by default. |