freebsd-skq/usr.sbin/xntpd/scripts/stats/peer.sh
1993-12-21 18:36:48 +00:00

14 lines
236 B
Bash
Executable File

#!/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