Memo chronyc (ex ntpq)

Rédigé par Paulo Aucun commentaire
Classé dans : Linux Mots clés : chrony, ntp


Memo chronyc (ex ntpq):

- chronyc tracking :
Reference ID: This is the reference ID and name (or IP address) if available, of the server to which the computer is currently synchronized.
Stratum: The stratum indicates how many hops away from a computer with an attached reference clock you are.
Ref time: This is the time (UT C) at which the last measurement from the reference source was processed.

# chronyc tracking
Reference ID : 192.0.2.1 (192.0.2.1) 
Stratum : 12
Ref time (UTC) : Fri Aug 05 19:06:51 2016
System time     : 0.000823375 seconds fast of NTP time
Last offset     : 0.001989304 seconds
RMS offset      : 0.060942811 seconds
Frequency       : 1728.043 ppm slow
Residual freq   : 1.100 ppm
Skew            : 94.293 ppm
Root delay	    : 0.000207 seconds 
Root dispersion : 0.016767 seconds
Update interval : 65.1 seconds
Leap status     : Normal


- chronyc sources :
M: The mode of the source. ^ means a server, = means a peer, and # indicates
a locally connected reference clock.
S: The state of the sources. “*” indicates the source to which chronyd is currently synchronized. “+” indicates acceptable sources that are combined with the selected source. “-” indicates acceptable sources that are excluded by the combining algorithm. “?” indicates sources to which connectivity has been lost or whose packets do not pass all tests. “x” indicates a clock that chronyd thinks is a false ticker, that is, its time is inconsistent with a majority of other sources. “~” indicates a source whose time appears to have too much variability. The “?” condition is also shown at start-up, until at least three samples have been gathered from it.
Name/IP address: This shows the name or the IP address of the source, or reference ID for reference clocks.

# chronyc sources
210 Number of sources = 1
MS Name/IP address    Stratum    Poll   Reach   LastRx   Last sample 
=====================================================
^* 192.0.2.1           11        6      377      63      +1827us[+6783us]...

 

- chronyc sourcestats (ex ntpq -p):
retourne les infos sur le décalage par rapport au serveur de temps

# chronyc sourcestats
210 Number of sources = 1
Name/IP Address   NP   NR   Span   Frequency   Freq Skew   Offset    Std   Dev 
==================================================================================
192.0.2.1         5    4    259    -747.564   1623.869    -2873us          30ms

Source :
https://www.thegeekdiary.com/centos-rhel-7-configuring-ntp-using-chrony/
https://docs-old.fedoraproject.org/en-US/Fedora/18/html/System_Administrators_Guide/sect-Checking_if_chrony_is_synchronized.html
 

Les commentaires sont fermés.