Re: Seeking clarifaction of tai64nlocal and leap seconds

"Andy Bradford" <[email protected]> 20 Sep 2012 09:56:58 -0600
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>
Thus said Michael Sierchio on Thu, 20 Sep 2012 08:33:29 PDT:

> You  would be  unique. What time  synchronization mechanism  would you
> use?

Why, taiclock and taiclockd of course. It comes with the clockspeed
package. :-)

Really, it depends on  what you intend by it. If you mean  how do I keep
my clock synchronized with the world, then it's simple; I run clockspeed
and I train clockspeed using an external SNTP source.

$ sntpclock 1.2.3.4 > /usr/local/clockspeed/adjust

This could be run  from a cronjob once a month  (or even less frequently
really). When running clockspeed, however,  you only need to synchronize
if your clock's frequency changes.

If on the other hand you mean, how will other computers synchronize with
my computer, then that's where taiclock/taiclockd come in. I would setup
taiclockd to serve up a TAICLOCK service. Then I run taiclock instead to
feed my clockspeed daemon:

$ taiclock 5.6.7.8 > /usr/local/clockspeed/adjust

Andy