home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!opl.com!hri.com!spool.mu.edu!wupost!waikato.ac.nz!comp.vuw.ac.nz!cc-server4.massey.ac.nz!acmebbs!kilroy
- From: kilroy@acme.gen.nz (earthbound misfit, I)
- Newsgroups: comp.os.coherent
- Subject: Re: ATclock, etc.
- Keywords: clock realtime
- Message-ID: <1993Jan05.095605.24749@acme.gen.nz>
- Date: 5 Jan 93 09:56:05 GMT
- References: <930103120@fcshome.UUCP>
- Reply-To: kilroy@acme.gen.nz (earthbound misfit, I)
- Organization: ACME BBS - Public Access Usenet, Palmerston North, New Zealand
- Lines: 30
-
- fredex@fcshome.UUCP (fred smith) writes:
-
- > A few weeks ago I got a program "adjclock" from the net. This program
- > allows you to run it as a daemon, which will periodically tweak the
- > system time a bit in order to compensate for inaccurate clocks. It
- > uses stime() to do this. I was thinking, however, that it would be
- > nice to actually tweak the hardware clock instead (or in addition to
- > this), so that the hardware and software clocks won't drift apart.
- > I could do "system ("ATclock yymmddhhmm.ss");", but that's rather a
- > hack.
- >
- > This seems like something that a lot of you could use, since I've
- > seen a number of complaints on the net about system clocks drifting
- > off pretty badly. If I can resolve this problem (and a couple of
- > others) I'll gladly redistribute to Coherent folks.
-
- I wonder how necessary this is? Have you measured the accuracy of the
- hardware clock in your system?
-
- The reason I ask is that I've found that if my system is left running for a
- week or so, the time will drift up to 10m or so from the correct time, but
- the hardware clock remains accurate and the system will show the correct
- time after a reboot. I've been meaning to put "date '/etc/ATclock'" in my
- root crontab run weekly or something to fix this (or perhaps run with at
- instead to prevent odd timing problems).
-
- - k
- --
- Craig Harding kilroy@acme.gen.nz ACME BBS +64 6 3551342
- "Jub'er lbh pnyyvat n obmb?"
-