Hack to show NTS on ntpq peers

Hal Murray hmurray at megapathdsl.net
Wed Feb 20 22:50:07 UTC 2019


esr at thyrsus.com said:
> The peers display looks OK, so my test to see if a number should be inserted
> in the status field is probably busted.  Should be trivial to fix once ntpd
> ships the right thing. 

The peers display is often somewhat screwy.  I suspect something in your 
recent table cleanups is not quite right.

Here is an example.  Note the when column doesn't make sense given the poll 
and reach.

     remote            refid      st t when poll reach   delay   offset   
jitter
===============================================================================
=
+glypnod          192.168.1.33     2 u  392   64  377        .        .   
12.314
-shuksan          .PPS.            1 u  101   64  377        .        .  
250.870
+mon              192.168.1.33     2 u  266   64  377        .        .    
7.019
-tom              .PPS.            1 u   90   64  377        .        .  
250.748
*cent             .PPS.            1 u   78   64  377        .        .    
1.923
+hgm              192.168.1.33     2 u  950   64  377        .        .   
26.367


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list