summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/scripts/stats/peer.sh
blob: b5d8d29186db1e77d961675bcacf22002cea646f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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

OpenPOWER on IntegriCloud