In message: <[EMAIL PROTECTED]>
            Neal McBurnett <[EMAIL PROTECTED]> writes:
: Here are some notes on facilities in some Unix systems to show
: evidence of leap seconds.  Some recent distributions are out of date
: as noted below.  Can folks check others (Solaris, *BSD, etc?).

I'll comment for FreeBSD.

: First, this should work for everyone who cares about time and runs
: ntp.  Make sure you're in NTP sync with a host that knows a leap
: second is coming.  Look for "leap=01" in the output of this:
:
:  $ ntpq -c rv
:  assID=0 status=46f4 leap_add_sec, sync_ntp, 15 events, event_peer/strat_chg,
:  version="ntpd [EMAIL PROTECTED]:4.2.0a-11-r Mon Mar 14 12:39:28 GMT 2005 
(1)"?,
:  processor="i686", system="Linux/2.6.10-6-386", leap=01, stratum=3,
:  precision=-19, rootdelay=158.366, rootdispersion=77.103, peer=17708,
:  refid=82.211.81.145,
:  reftime=c76127cd.19f9acff  Sat, Dec 31 2005  8:52:45.101, poll=7,
:  clock=0xc7612b1b.74322291, state=4, offset=-0.430, frequency=37.132,
:  error=0.572, jitter=1.795, stability=64.092

FreeBSD does this in a similar way, since it is all based on ntp.

: Next check to see if your time zone files are up-to-date.  I'm no
: expert (help!) but it appears that on many Unix systems, the "Olson"
: notion of "right/" timezones allows the system to understand leap
: seconds.

The so-called "right" files aren't installed on FreeBSD by default.
Instead, at zone compilation time, the leap seconds are added or not.
The default is for them not to be added, likely to comply with the
lame and broken requirements of POSIX's time_t.

Warner

Reply via email to