summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/scripts/stats/clock.sh
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/xntpd/scripts/stats/clock.sh')
-rwxr-xr-xusr.sbin/xntpd/scripts/stats/clock.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/usr.sbin/xntpd/scripts/stats/clock.sh b/usr.sbin/xntpd/scripts/stats/clock.sh
new file mode 100755
index 0000000..1866d55
--- /dev/null
+++ b/usr.sbin/xntpd/scripts/stats/clock.sh
@@ -0,0 +1,17 @@
+#!/bin/csh
+#
+# Script to summarize clockstats files
+#
+set x = `ls clockstats.*`
+foreach dayfile ( $x )
+ if ($dayfile == $x[$#x]) continue
+ echo " "
+ echo $dayfile
+ awk -f clock.awk $dayfile
+ awk -f itf.awk $dayfile >>itf
+ awk -f etf.awk $dayfile >>etf
+ awk -f ensemble.awk $dayfile >>ensemble
+ awk -f tdata.awk $dayfile >>tdata
+ rm -f $dayfile
+end
+
OpenPOWER on IntegriCloud