opnsense-src/usr.sbin/xntpd/scripts/stats/clock.sh

18 lines
349 B
Bash
Raw Normal View History

1993-12-21 13:36:48 -05:00
#!/bin/csh
#
# Script to summarize clockstats files
#
set x = `ls clockstats.*`
foreach dayfile ( $x )
if ($dayfile == $x[$#x]) continue
echo " "
echo $dayfile
awk -f clock.awk $dayfile
awk -f itf.awk $dayfile >>itf
awk -f etf.awk $dayfile >>etf
awk -f ensemble.awk $dayfile >>ensemble
awk -f tdata.awk $dayfile >>tdata
rm -f $dayfile
end