[ntp:questions] How to insert a leap second with ntpq

Michael Tatarinov kukabu at gmail.com
Thu Jun 28 05:34:14 UTC 2012


Interesting program but not necessary. ntpq need only.

ntpd 4.2.7
ntpq> mrv &1 &99 srcadr,leap,refid
srcadr=192.168.138.2, leap=00, refid=89.239.186.21
srcadr=192.168.138.24, leap=00, refid=192.168.138.2
srcadr=192.168.138.6, leap=00, refid=192.168.113.2
srcadr=192.168.113.6, leap=00, refid=192.168.113.2
srcadr=0.0.0.0, leap=11, refid=POOL
srcadr=93.180.7.2, leap=00, refid=130.173.91.58
srcadr=62.76.96.10, leap=00, refid=130.173.91.58
srcadr=85.21.78.91, leap=01, refid=193.10.7.246
srcadr=81.95.131.130, leap=00, refid=62.117.76.142
srcadr=195.189.122.154, leap=00, refid=1.1.1.1

or for old ntpd
ntpq> mrv 59605 59614 srcadr,leap,refid
srcadr=192.168.138.2, leap=00, refid=89.239.186.21
srcadr=192.168.138.24, leap=00, refid=192.168.138.2
srcadr=192.168.138.6, leap=00, refid=192.168.113.2
srcadr=192.168.113.6, leap=00, refid=192.168.113.2
srcadr=0.0.0.0, leap=11, refid=POOL
srcadr=93.180.7.2, leap=00, refid=130.173.91.58
srcadr=62.76.96.10, leap=00, refid=130.173.91.58
srcadr=85.21.78.91, leap=01, refid=193.10.7.246
srcadr=81.95.131.130, leap=00, refid=62.117.76.142
srcadr=195.189.122.154, leap=00, refid=1.1.1.1

2012/6/21 David J Taylor <david-taylor at blueyonder.co.uk.invalid>

> With all this discussion of leap-seconds, perhaps it's timely to mention
> my simple tools for leap-second checking across servers.  You will find NTP
> Leap trace here:
>
>  http://www.satsignal.eu/software/net.htm#NTPLeapTrace
>
> At this instant, fewer than 1 in 10 of the remote servers I'm using are
> indicating a pending leap second, and we are 9 days away from the event.  I
> can't recall now how long before the event it should be announced by
> typical NTP servers.
>
> Cheers,
> David
> _______________________________________________
> questions mailing list
> questions at lists.ntp.org
> http://lists.ntp.org/listinfo/questions
>


More information about the questions mailing list