From b3fd60e6407b3af029672218b0bff7bb30e7a9d9 Mon Sep 17 00:00:00 2001 From: Keuin Date: Thu, 30 Dec 2021 12:20:42 +0800 Subject: Add ping check (-p). Support custom error handling command (-c). Add runtime params validation for logging. --- README.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README.txt') 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 ] [-n ] [-l ] [-d] + netmon [-t ] [-n ] [-l ] [-c ] [-p ] [-d] -t specify how many seconds to wait between two checks -n specify how many continous network failures we get until we reboot the system -l specify the log file + -c the command line to be executed when network failure is detected + -p test the network by pinging given host -d run as a daemon process -- cgit v1.2.3