summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/scripts/stats/clock.sh
blob: 1866d556403dbe5c8ea3f4beb82ee3e689a118a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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

OpenPOWER on IntegriCloud