diff options
Diffstat (limited to 'usr.sbin/xntpd/scripts/stats/loop.sh')
-rwxr-xr-x | usr.sbin/xntpd/scripts/stats/loop.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/usr.sbin/xntpd/scripts/stats/loop.sh b/usr.sbin/xntpd/scripts/stats/loop.sh new file mode 100755 index 0000000..619eeb8 --- /dev/null +++ b/usr.sbin/xntpd/scripts/stats/loop.sh @@ -0,0 +1,13 @@ +#!/bin/csh +# +# Script to summarize loopstats files +# +set x = `ls loopstats.*` +foreach dayfile ( $x ) + if ($dayfile == $x[$#x]) continue + echo " " + echo $dayfile + awk -f loop.awk $dayfile + rm -f $dayfile +end + |