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