home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!walter!porthos!iscp.bellcore.com!jona
- From: jona@iscp.bellcore.com (Jon Alperin)
- Subject: timed does not adjust clocks correctly
- Organization: Bellcore
- Distribution: usa
- Date: Tue, 25 Aug 92 19:58:46 GMT
- Message-ID: <1992Aug25.195846.5519@porthos.cc.bellcore.com>
- Sender: netnews@porthos.cc.bellcore.com (USENET System Software)
- Lines: 39
-
- OS: AIX 3.2.2
-
- I would appreciate it if someone would confirm the following for me:
-
- I have 2 systems on a token ring, with one system running timed -M (actually a
- startsrc -s timed -a -M), while the other simply runs timed. The second system
- should obtain the current time from the first system and use adjtime to
- correct its time with the master (over a period of a minute or two).
-
- When I have the machines in sync, I set the time on the master to 5 minutes
- ahead, using the date command. The second system immediately jumped ahead by 5
- minutes to be in sync with the master.
-
- I then set the second machines time back 3 minutes using the date command.
- timedc msite reports that the first machine is the master, and clockdiff
- reports that the master is several hundred miliseconds faster than the second
- machine. After two minutes (when the timed master broadcasts its time), the
- clock on the second machine jumps to the time broadcast on the master (time
- does not adjust, unless you consider 3 minutes time in 1 seconds an adjustment).
-
- I then set the master time back by 5 minutes, and the second machine
- immediately jumps backwards.
-
- Could someone confirm that this does in fact happen on AIX 3.2? I know about xntpd,
- and am porting it right now, but I have to use timed for a little while longer.
- Any information or help is greatly appreciated.
-
- jon
-
-
- --
- Jon Alperin
- Bell Communications Research
-
- ---> Internet: jona@iscp.bellcore.com
- ---> Voicenet: (908) 699-8674
- ---> UUNET: uunet!bcr!jona
-
- * All opinions and stupid questions are my own *
-