Home >

LunaSH Command Reference Guide > LunaSH Commands > sysconf > sysconf ntp status

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.

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)