[ntp:questions] API for step time server notification

unruh unruh at wormhole.physics.ubc.ca
Mon Jul 26 14:39:26 UTC 2010


On 2010-07-26, Thierry MARTIN <thierry-martin at ifrance.com> wrote:
> Hello,
>
> Is there any API that can be used in a program to be "notified" if a
> "step time server" event occurs?
> As far as I could see, it is "only" logged.

You could have something read the logs and notify your program. Or if
you are on Linux/BSD you could run chrony, which does not step.
Mind you if ntpd is stepping after having been running for a few hours,
something is seriously wrong, and needs fixing.

>
> Thanks in advance for your answers.
> / Thierry




More information about the questions mailing list