[ntp:questions] Monitoring the leap second tonight

Markus Kuhn n05W52+mgk25 at cl.cam.ac.uk
Sat Dec 31 21:02:44 UTC 2005


If you have nothing better to do around midnight UTC tonight, then
install

  http://www.cl.cam.ac.uk/~mgk25/time/leap/timelog.c

and run it with

  ./timelog -w2005-12-31T23:59:00 -d180 >/tmp/leapsecond.log

to record the last minute of this year and the first to of the next on
any potentially interesting NTP machine that you can get hold of.

This records the BSD API, the POSIX API, and on Pentium CPUs also the
Pentium timestamp counter. Command-line options allow you specify start
time and duration of the recording.

This is meant to be portable POSIX code, but has only been tested under
Linux so far.

Markus

-- 
Markus Kuhn, Computer Laboratory, University of Cambridge
http://www.cl.cam.ac.uk/~mgk25/ || CB3 0FD, Great Britain




More information about the questions mailing list