ntpq quirks

Hal Murray hmurray at megapathdsl.net
Thu Dec 1 07:24:33 UTC 2016


The current peers command is broken.  It's printing a big bunch of blanks 
instead of the host name for each slot.  It way overflows an 80 character 
line.

My mail stuff will probably break these long lines.

[murray at glypnod play]$ ntpq -p cent2
     remote           refid      st t when poll reach   delay   offset  jitter
==========================
+                                      127.67.113.92    2 u  212 1024  373   
58.143    0.181 118.166
*                                      .CDMA.           1 u  652 1024  377   
14.484   -2.368 294.641
+                                      128.252.19.1     2 u  989 1024  377   
92.043   -1.880 129.282
+                                      128.59.0.245     2 u  986 1024  377   
73.018    0.685 113.948
[murray at glypnod play]$ 

-------

This is from a day or so ago.

[murray at second ~]$ ntpq -d 4 -nc mru
ntpq can only work interactively on one host.
Traceback (most recent call last):
  File "/usr/local/bin/ntpq", line 1635, in <module>
    session.openhost(*interpreter.chosts[0])
  File "/usr/local/lib/python2.7/site-packages/ntp/packet.py", line 800, in 
openhost
    sys.stderr.write(msg)
TypeError: expected a string or other character buffer object


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list