sysconf ntp status
Display the NTP service status.
A “+” in front of an NTP server name means that it’s a good candidate for synchronization. More than one NTP server could be a good candidate.
A “*” in front of an NTP server name means that the it’s the source of synchronization and the client has been synchronized to it. Only one NTP server at a time will be chosen as the source of synchronization.
NOTE The command sysconf ntp status sends packets to the configured NTP servers. The response time from the server using unreliable UDP protocol, especially over large distances, is random due to the network delay, server availability etc. If no response is received from the server, the command eventually times out after some attempts; this causes a ‘random’ delay in the command output. Five-to-ten seconds seems to be the timeout period if no response is received from the server. The default timeout is 5000 milliseconds. Note that since the command retries each query once after a timeout, the total waiting time for a timeout will be twice the timeout value set. For these reasons, you might see the command output begin, then pause for several seconds, before resuming. In other network configurations, and with "nearby" fast-responding NTP servers configured, you might never notice a pause.
User Privileges
Users with the following privileges can perform this command:
>Admin
>Operator
>Monitor
Syntax
sysconf ntp status
Example
lunash:> sysconf ntp status
NTP is running
NTP is enabled
Peers:
==============================================================================
remote refid st t when poll reach delay offset jitter
==============================================================================
*LOCAL(0) .LOCL. 10 l 15 64 7 0.000 0.000 0.000
==============================================================================
Associations:
==============================================================================
ind assid status conf reach auth condition last_event cnt
===========================================================
1 12393 963a yes yes none sys.peer sys_peer 3
==============================================================================
NTP Time:
==============================================================================
ntp_gettime() returns code 0 (OK)
time d2407aa3.4e858000 Wed, Oct 12 2011 13:44:19.306, (.306725),
maximum error 8020716 us, estimated error 0 us
ntp_adjtime() returns code 0 (OK)
modes 0x0 (),
offset 0.000 us, frequency 0.000 ppm, interval 1 s,
maximum error 8020716 us, estimated error 0 us,
status 0x1 (PLL),
time constant 2, precision 1.000 us, tolerance 512 ppm,
==============================================================================
Command Result : 0 (Success)