head	1.2;
access;
symbols
	RELENG_3_5_0_RELEASE:1.1.1.2
	RELENG_3_4_0_RELEASE:1.1.1.2
	RELENG_3_3_0_RELEASE:1.1.1.2
	RELENG_3_2_PAO:1.1.1.2.0.12
	RELENG_3_2_PAO_BP:1.1.1.2
	RELENG_3_2_0_RELEASE:1.1.1.2
	RELENG_3_1_0_RELEASE:1.1.1.2
	RELENG_3:1.1.1.2.0.10
	RELENG_3_BP:1.1.1.2
	RELENG_2_2_8_RELEASE:1.1.1.2
	RELENG_3_0_0_RELEASE:1.1.1.2
	RELENG_2_2_7_RELEASE:1.1.1.2
	RELENG_2_2_6_RELEASE:1.1.1.2
	RELENG_2_2_5_RELEASE:1.1.1.2
	RELENG_2_2_2_RELEASE:1.1.1.2
	RELENG_2_2_1_RELEASE:1.1.1.2
	RELENG_2_2_0_RELEASE:1.1.1.2
	RELENG_2_1_7_RELEASE:1.1.1.2
	RELENG_2_1_6_1_RELEASE:1.1.1.2
	RELENG_2_1_6_RELEASE:1.1.1.2
	RELENG_2_2:1.1.1.2.0.8
	RELENG_2_2_BP:1.1.1.2
	RELENG_2_1_5_RELEASE:1.1.1.2
	RELENG_2_1_0_RELEASE:1.1.1.2
	RELENG_2_1_0:1.1.1.2.0.6
	RELENG_2_1_0_BP:1.1.1.2
	RELENG_2_0_5_RELEASE:1.1.1.2
	RELENG_2_0_5:1.1.1.2.0.4
	RELENG_2_0_5_BP:1.1.1.2
	RELENG_2_0_5_ALPHA:1.1.1.2
	RELEASE_2_0:1.1.1.2
	BETA_2_0:1.1.1.2
	ALPHA_2_0:1.1.1.2.0.2
	xntp_3_4e:1.1.1.2
	MOVED_NEWCVS:1.1.1.2
	FINAL_1_1_5:1.1.1.2
	ALPHA_1_1_5:1.1.1.2
	FINAL_1_1:1.1.1.1
	GAMMA_1_1:1.1.1.1
	xntp_3_3s:1.1.1.2
	udel_3_3p:1.1.1.1
	udel:1.1.1
	BETA_1_1:1.1.1.1.0.2
	BP_BETA_1_1:1.1.1.1
	UDEL_33Z:1.1.1.1
	UDEL_33B:1.1.1.1
	UDEL:1.1.1;
locks; strict;
comment	@# @;


1.2
date	99.12.22.15.24.00;	author roberto;	state dead;
branches;
next	1.1;

1.1
date	93.12.21.18.36.37;	author wollman;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	93.12.21.18.36.38;	author wollman;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	94.04.21.00.31.45;	author wollman;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Bye bye xntpd.
@
text
@Statistics processing scripts (README)

This directory contains a number of scripts for use with the filegen
facility. Those files ending in .awk are for the Unix awk utility, while
those ending in .sh are for the csh utility. Normally, the summary.sh
script is called from a cron job once per day. This script calls the
peer.sh script to process the peerstats file and append the summary
statistics to the peer_summary file. Then, it callse the loop.sh script
to process the loopstats file and append the summary statistics to the
loop_summary file. Finally, it calls the clock.sh script to process the
clockstats file and append the summary statistics to the clock_summary
file.

Each of the three shell scripts peer.sh, loop.sh and clock.sh invoke
one or more awk scripts to actually produce the data. This may result
in multiple scans of the same input file. The input file is deleted after
processing. In fact, the shell scripts will process all input files
found of the correct type in chronological order, deleting each one as
it is scanned, except the current day file.

The psummary.awk script can be used to scan the peer_summary file and
construct an historical reprise of the daily summaries. 

The file formats are documented in the README.stats file and in the
scripts themselves. Further detail on the radio clock ASCII timecode
formats and related data are in the README.timecode file.

David L. Mills
University of Delaware
mills@@udel.edu
1 November 1993
 
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@xntpd 3.3b from UDel
@
text
@@


1.1.1.2
log
@xntp3.3s from UDel
@
text
@d6 14
a19 21
script is called from a cron job once per day. This script processes the
daily loopstats, peerstats and clockstats files produced by the daemon,
updates the loop_summary, peer_summary and clock_summary archive files,
and deletes the daily files.

In the case of the Austron 2201A GPS receiver, the clockstats file
contains a wealth of additional monitoring data. These data are summarized
and writted to the clock_summary file, then a series of special files are
constructed for later processing by the S utility.

The summary.sh script invokes a number of awk scripts to actually produce
the data. This may result in multiple scans of the same input file.
The input file is deleted after processing. In fact, the shell scripts will
process all input files found of the correct type in chronological order,
deleting each one as it is scanned, except the current day file.

The summary.sh script can produce input files for the S utility, if it
is found on the search path. This utility makes PostScript graphs of the
loopstats data for each day, as well as various statistics produced by
the Austorn 220aA GPS receiver. The S utility is automatically run
as a background job. Its control files have the .S extension.
d32 1
a32 1
Revised 12 April 1994 
@
