ntpq peers formatting needs floating point for time slots.

Matthew Selsky Matthew.Selsky at twosigma.com
Sat Feb 4 16:56:28 UTC 2017


On Sat, Feb 04, 2017 at 01:39:45AM -0800, Hal Murray wrote:
 
> Good catch.  Thanks.
> 
> I just pushed a fix.  It's the sort of kludge that Eric won't like but I 
> don't have a better idea.

Hey Hal,

Looks better.

$ ntpq -pn ; ./ntpclients/ntpq -pn
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
+1.1.1.1         .GPSs.           1 u    1    2  377    0.480   -0.001   0.000
*2.2.2.2         .GPSs.           1 u    1    2  377    0.017   -0.001   0.000
+3.3.3.3         .GPSs.           1 u    1    2  377    0.667    0.001   0.000
     remote           refid      st t when poll reach   delay   offset   jitter
===============================================================================
+1.1.1.1         .GPSs.           1 u    -    2  377    0.480   -0.001    0.000
*2.2.2.2         .GPSs.           1 u    -    2  377    0.017   -0.001    0.000
+3.3.3.3         .GPSs.           1 u    -    2  377    0.667    0.001    0.000

Is the jitter column header/data supposed to have moved 1 character to the right?

Thanks,
-Matt


More information about the devel mailing list