[Frank J. Wancho: \"timchk\"]

Mike Muuss unix-wizards-request at brl-tgr
Thu Apr 18 16:06:41 AEST 1985


----- Forwarded message # 1:

Date: 28 Mar 1985  01:18 MST (Thu)
Message-ID: <WANCHO.12098560585.BABYL at SIMTEL20.ARPA>
From: "Frank J. Wancho" <WANCHO at SIMTEL20.ARPA>
To:   INFO-UNIX-REQUEST at brl.ARPA
cc:   WANCHO at SIMTEL20.ARPA
Subject: "timchk"

We have a program on our TOPS-20 system that goes quite a bit further
than "date -n".  You can give it a list of sites in a file - I picked
several of the fuzzballs because they are known to keep in sync with
WWV and ALL of them are polled, not just the one on the top of the
list.  The average difference is computed and it offers to update your
system clock with that difference.  I also have a version I run at
startup that doesn't ask.

The question is: has anyone implemented a similar program for Unix?

--Frank
--------------------

Here is the display:

Site		Greenwich Mean Time ->  Local Time Zone
						Difference	Delay
SIMTEL20.ARPA    	28-Mar-85 08:15:27  ->  28-Mar-85 01:15:27-MST
DCN1    	28-Mar-85 08:15:32  ->           +     :01      +4
DCN6    	28-Mar-85 08:15:33  ->           +     :02      +4
DCN7    	28-Mar-85 08:15:34  ->           +     :02      +5
DCN2    	timed out.
DCN3    	timed out.
DCN4    	timed out.
DCN5    	timed out.
DCN8    	timed out.

		Average difference               +     :01    
		Average clock time      28-Mar-85 01:15:28-MST
		Time spent surveying = 12.902 seconds.
Set system time to average? (Y or N) :y
OK, Setting time to 28-Mar-85 01:15:42

----- End of forwarded messages



More information about the Comp.unix.wizards mailing list