Article View: comp.sys.next.programmer
Article #1436Re: Drifting clock
From: Paul J. Sanchez
Date: Tue, 10 Nov 1992 16:55
Date: Tue, 10 Nov 1992 16:55
33 lines
1858 bytes
1858 bytes
Meinhard E. Mayer (Hardy) writes > In article <1992Nov10.021255.8585@cs.brown.edu> rca@cs.brown.edu (Ronald C. Antony) writes: > > ??? I realize that my clock on the NeXT keeps running late. So finally got > ??? annoyed enough to try to fix the problem. In the man pages I found a > ??? reference to /etc/npt.drift > ??? However the file format is not documented. Does anyone know if this > ??? file can be helpful in getting rid of the problem? If yes, what do the > ??? entries in the file mean? > > If your machine is on a network and you know an ntp (or xntp) host at > Brown, and if your machine is running ntp (check you /etc/hostconfig > file), ntp.drift records the drift of your clock vis-a-vis the master > clock. ntp is adjusting the logical time. > We have three servers on campus, and if I want to reset the physical > clock I issue the command (as root): > ntp -f -s -v draco.acs.uci.edu einstein.oac.uci.edu paris.ics.uci.edu > (see the man-page on ntp). > I have the following little shell script, called timesynch, in /usr/local/bin. Once root starts it, it reruns itself every night at 3AM. Substitute your favorite ntp host... # timesynch shell script /usr/etc/ntp -s time.telcom.arizona.edu > /dev/null /usr/bin/sleep 900 /usr/bin/at 3 /usr/local/bin/timesynch
Technical Details
Message-ID:
<1992Nov10.165515.21369@organpipe.uug.arizona.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!ornl!utkcs2!darwin.sura.net!jvnc.net!yale.edu!yale!gumby!destroyer!ncar!noao!amethyst!organpipe.uug.arizona.edu!newsReferences:
<HARDY.92Nov9233637@golem.ps.uci.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ornl!utkcs2!darwin.sura.net!jvnc.net!yale.edu!yale!gumby!destroyer!ncar!noao!amethyst!organpipe.uug.arizona.edu!news From: paul@music.sie.arizona.edu (Paul J. Sanchez) Newsgroups: comp.sys.next.programmer Subject: Re: Drifting clock Message-ID: <1992Nov10.165515.21369@organpipe.uug.arizona.edu> Date: 10 Nov 92 16:55:15 GMT References: <HARDY.92Nov9233637@golem.ps.uci.edu> Sender: news@organpipe.uug.arizona.edu Organization: University of Arizona UNIX Users Group Lines: 33