aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/xntpd/scripts/stats/summary.sh
blob: ab99f4d8e8d5f2c1b7f5b2b0392f8fc32ecfef8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/csh
#
# Script to summarize ipeerstats, loopstats and clockstats files
#
# This script can be run from a cron job once per day, week or month. It
# runs the file-specific summary script and appends the summary data to 
# designated files, which must be created first.
#
if ( -e peer_summary ) then
	peer.sh >>peer_summary
endif
if ( -e loop_summary ) then
	loop.sh >>loop_summary
endif
if ( -e clock_summary ) then
	clock.sh >>clock_summary
endif