[ntp:questions] clockvar output from PPS

David J Taylor david-taylor at blueyonder.co.uk.invalid
Mon Feb 20 11:21:43 UTC 2012


"A C" <agcarver+ntp at acarver.net> wrote in message 
news:4F421019.2010304 at acarver.net...
> Is this what you would expect from ntpq -c clockvar from a system that 
> is synced on PPS:
>
> ntpq> clockvar
> associd=0 status=0000 no events, clk_unspec,
> device="PPS Clock Discipline", timecode=, poll=11425, noreply=0,
> badformat=0, baddata=0, stratum=16, refid=80.80.83.0, flags=14
>
> rv shows:
>
> ntpq> rv
> associd=0 status=011d leap_none, sync_pps, 1 event, kern,
> version="ntpd 4.2.7p256 at 1.2483-o Thu Feb  9 01:02:23 UTC 2012 (1)",
> processor="sparc", system="NetBSD/5.1", leap=00, stratum=1,
> precision=-13, rootdelay=0.000, rootdisp=1.150, refid=PPS,
> reftime=d2ec8c38.8b4e0f18  Mon, Feb 20 2012  9:09:12.544,
> clock=d2ec8c42.e3f01a01  Mon, Feb 20 2012  9:09:22.890, peer=56093, 
> tc=4,
> mintc=3, offset=-0.007, frequency=-78.483, sys_jitter=0.122,
> clk_jitter=0.014, clk_wander=0.001, tai=34, leapsec=201207010000,
> expire=201212280000
>
> I guess I'm confused because the stratum and the refid don't match.

This is what my PPS-synced system shows (when viewed remotely from a 
Windows PC):

____________________________________________
C:\>ntpq -c clockvar pixie
associd=0 status=0000 no events, clk_unspec,
device="NMEA GPS Clock",
timecode="$GPRMC,111908,A,5554.4151,N,00312.0729,W,000.0,028.1,200212,004.7,W*71
",
poll=20728, noreply=0, badformat=0, baddata=0, stratum=0, refid=PPS,
flags=5

C:\>ntpq -c rv pixie
associd=0 status=0419 leap_none, sync_uhf_radio, 1 event, leap_armed,
version="ntpd 4.2.7p255 at 1.2483 Fri Feb 10 06:04:36 UTC 2012 (1)",
processor="i386", system="FreeBSD/8.2-RELEASE-p6", leap=00, stratum=1,
precision=-19, rootdelay=0.000, rootdisp=1.120, refid=PPS,
reftime=d2eca9fb.e63a7322  Mon, Feb 20 2012 11:16:11.899,
clock=d2ecaa04.ca2eb220  Mon, Feb 20 2012 11:16:20.789, peer=8406, tc=4,
mintc=3, offset=-0.001, frequency=27.816, sys_jitter=0.002,
clk_jitter=0.002, clk_wander=0.001, tai=34, leapsec=201207010000,
expire=201212280000

C:\>ntpq -c kern pixie
associd=0 status=0419 leap_none, sync_uhf_radio, 1 event, leap_armed,
pll offset:            0.000243
pll frequency:         27.8163
maximum error:         0.006
estimated error:       2e-06
kernel status:         pll ppsfreq ppstime ppssignal nano
pll time constant:     4
precision:             1e-06
frequency tolerance:   495.911
pps frequency:         27.8163
pps stability:         0.0083313
pps jitter:            0.002
calibration interval   256
calibration cycles:    3463
jitter exceeded:       287
stability exceeded:    0
calibration errors:    25
____________________________________________


I'm confused you your clockvar showing stratum=16.  Perhaps one of the 
other commands tells you more?

I hope that helps.

Cheers,
David 



More information about the questions mailing list