diff options
Diffstat (limited to 'contrib/xntpd/scripts/stats/peer.sh')
| -rwxr-xr-x | contrib/xntpd/scripts/stats/peer.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/xntpd/scripts/stats/peer.sh b/contrib/xntpd/scripts/stats/peer.sh new file mode 100755 index 000000000000..b5d8d29186db --- /dev/null +++ b/contrib/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 + |
