home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!ukma!darwin.sura.net!convex!constellation!osuunx.ucc.okstate.edu!datacomm.ucc.okstate.edu!martin
- From: martin@datacomm.ucc.okstate.edu (Martin McCormick)
- Subject: adjtime
- Message-ID: <1992Nov12.210618.4538@osuunx.ucc.okstate.edu>
- Sender: news@osuunx.ucc.okstate.edu (USENET News System)
- Nntp-Posting-Host: datacomm.ucc.okstate.edu
- Organization: Oklahoma State University, Stillwater, OK
- Date: Thu, 12 Nov 1992 21:06:18 GMT
- Lines: 14
-
-
- I have determined that our Sun sparc's real-time clock gains about a minute
- every three months. Is the adjtime call appropriate to use to slow down
- the system clock to compensate for this error? When reading the manual
- entry on it, I was a little confused as to whether this was meant for only
- synchronizing other system's clocks to a master time server or if it did that
- in addition to introducing a correction factor to the host system clock.
- I would like to hear from anybody who has actually used it.
- There are various hardware solutions to synchronizing clocks, but
- I feel that our system would be pretty accurate, for our needs, if a correction
- factor could constantly be in effect to nudge the system in to counting time
- a little more slowly. Any help such as whether or not this does what I think
- it does, or examples of what the C code to call it looks like would be
- appreciated.
-