HP-UX Internet Services Administrator's Guide (May 2010)

NOTE: When you specify time-related configuration options in the /etc/ntp.conf
file, you specify the values in seconds. ntpq, however, displays time values in
milliseconds, as specified by RFC 1305 (Network Time Protocol (Version 3) –
Specification and Implementation) NTP standard.
Verifying ntpq
Use ntpq to verify whether:
xntpd can form associations with other NTP hosts.
Synchronization is happening correctly.
After xntpd starts, run the ntpq program with the -p option:
/usr/sbin/ntpq -p
The ntpq Program Output
The -p option prints a list of peers known to the server, along with a summary of their
states as shown in Table 4-7.
Table 4-7 An ntpq Output Indicating Known NTP Hosts
remote refid st t when poll reach delay offset disp
==================================================================
*GPS_HP(1) GPS 0 l 48 64 377 0.00 0.516 4.19
hpps.cup.hp cupertino 3 u 467 1024 377 7.20 -12.430 15.67
+server2 WWVB 1 u 173 256 377 279.95 20.56 16.40
+node1 node3 2 u 131 256 373 9.89 16.28 23.25
Each column in Table 4-7 is described as follows:
The remote (server name) column depicts the hosts specified in the local host’s
configuration file plus other hosts that are configured as peers with the local host.
The host address can be preceded by the following special characters:
* indicates the current synchronization source.
# indicates that the host is selected for synchronization, but distance from the
host to the server exceeds the maximum value.
o indicates that the host is selected for synchronization, and the PPS signal is
in use.
+ indicates the host included in the final synchronization selection set.
x indicates that the host is the designated false ticker by the intersection
algorithm.
. indicates that the host is selected from the end of the candidate list.
Advanced NTP Topics 69