examples: add a useful "see abridged log" script for ntpd service example
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 10 Jul 2016 18:15:28 +0000 (20:15 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 10 Jul 2016 18:15:28 +0000 (20:15 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
examples/var_service/ntpd/p_log_important [new file with mode: 0755]

diff --git a/examples/var_service/ntpd/p_log_important b/examples/var_service/ntpd/p_log_important
new file mode 100755 (executable)
index 0000000..09b248f
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd log/logdir || exit 1
+cat @* current | grep -v -eolder -esending -esockets -e'reply from.*offset' -executing | $PAGER