Re: clockspeed and AIX 5.1 w/gcc
Thorsten Glaser <[email protected]> Mon, 19 Aug 2002 17:41:55 +0001 (UTC)
| Newsgroups | gmane.comp.lib.libtai |
|---|---|
| Message-ID | <[email protected]> |
begin electrogrammati illius John Peacock >so I am SOL I guess. I suppose I will have to run NTP on this box then... You may want to check out the rdate(8) command of OpenBSD, which I recently threw correct leap second support (designed after libtai) and some portability fixes (compiles under GNU/Linux now, d'oh) in. You can get it by anonymous cvs by: cvs -qd [email protected]:/cvs co -PA src/usr.sbin/rdate The Makefile is PMake, but I think compiling three files and linking them (define -DNO_UTIL for rdate.c) should not be too much effort if you do it by yourself. I have integrated rdate this way: - at dial-in (or start-up, if you are "always online") rdate -Nv some.ntp.server - as a hourly, or twice-horly, cronjob rdate -Nav some.ntp.server | logger [send output to syslog] -N=ntp support as like sntpclock -a=adjtime() call -v=be verbose (show how much it adjusted) Maybe you can be helped with this, maybe not... who knows -Thorsten -- "Multiple exclamation marks", he went on, shaking his head, "are a sure sign of a diseased mind." -- Terry Pratchett in "Eric"