Subject: Re: ntpd fun (Was (?): Re: netbsd make = gnu make?)
To: Mauricio <supremedalek@hotpop.com>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-help
Date: 10/13/2003 01:02:53
On Mon, 13 Oct 2003, Mauricio wrote:
> At 21:39 -0500 10/12/03, Frederick Bruckman wrote:
> >On Sun, 12 Oct 2003, Mauricio wrote:
>
> > > Also, how to find which version of ntpd I have in the machine?
> >
> >When you start "ntpd", it will write its version into the syslog, and
> >after, the output of "ntpq -c rv" will include the version.
>
> katri# ntpq -c rv
> status=06c4 leap_none, sync_ntp, 12 events, event_peer/strat_chg,
> processor="pmax", system="NetBSD1.6.1", leap=00, stratum=2,
> precision=-16, rootdelay=225.455, rootdispersion=103.885, peer=14980,
> refid=caspak.cerias.purdue.edu,
> reftime=c334b40f.3cb9cb68  Mon, Oct 13 2003  1:18:07.237, poll=10,
> clock=c334b449.0acd6c2e  Mon, Oct 13 2003  1:19:05.042, state=4,
> phase=-110.419, frequency=23.491, jitter=86.084, stability=0.351
> katri#
>
> I guess it is shy, so let's be a bit more caveman:

Huh. I lied. The "version=" was added in the current development track.

> katri# cat /var/log/messages | grep ntpd
> Oct 10 09:58:31 katri ntpd[2056]: ntpd 4.0.99i Tue Apr  8 20:38:12 UTC 2003 (1)
> Oct 10 09:58:33 katri ntpd[2056]: precision = 22 usec
> Oct 10 09:58:33 katri ntpd[2056]: using kernel phase-lock loop 0041
> Oct 12 22:11:56 katri ntpd[2056]: time reset 216528.256212 s
>                                                OOps
> ^^^^^^^^^^^^^^^^^^ shame on me!
> Oct 12 22:11:56 katri ntpd[2056]: kernel pll status change 41
> Oct 12 22:31:21 katri ntpd[2056]: time reset 0.361666 s
> katri#
>
> Hmmm, the current version is 4.1.2.  I wonder whether I should
> upgrade it already.

The really interesting one, 4.2.0, is expected to be released within
days. That'll add IPv6 support, among other things. It should be worth
waiting for.

Frederick