Configuring Network Time Protocol (NTP) service

Examples of using ntpq and xntpdc

You can use ntpq and xntpdc to list the servers that chicago.mynet.com is currently polling. The server marked with an asterisk (*) is the one that chicago is currently synchronizing with. chicago is also listening for broadcast packets on the subnet with IP address 172.16.246, but no packets are currently being broadcast there. Note the difference in the units used by ntpq and xntpdc to display delay, offset, and dispersion. The former uses milliseconds, whereas the latter uses seconds.

chicago# ntpq
ntpq> peer

remote refid st when poll reach delay offset disp ========================================================================== 172.16.246.255 0.0.0.0 16 never 64 0 0.0 0.00 64000 *acapulco.mynet.com clepsydra.dec 2 53 64 376 81.1 -1.00 12.4 +moscow.mynet.com norad.arc.nas 2 11 64 37 41.2 30.00 7504.3

chicago# xntpdc xntpd> peer

remote local st poll reach delay offset disp =========================================================================== *acapulco.mynet.com 172.16.246.16 2 64 376 0.0811 -0.001003 0.0124 -moscow.mynet.com 172.16.246.7 2 64 37 0.0412 0.030001 7.5043 ^172.16.246.255 0.0.0.0 16 64 0 0.0000 0.000000 64.000

This information tells us, among other things, that:


© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999