freebsd_amp_hwpstate/usr.sbin/xntpd/scripts/stats/peer.sh

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