chronyc:tldr:ffe03
The command "chronyc ntpdata" is used to display information about the current status and statistics of the NTP (Network Time Protocol) server that chrony is communicating with.
When you execute the command, chronyc, which is a command-line interface to control and interact with the chrony daemon (a computer program that synchronizes the system clock with remote NTP servers), will display various data related to NTP synchronization, including the following:
-
Remote NTP server details: It will show information about the remote NTP server, such as its IP address or hostname, the state of the server (reachable or unreachable), the stratum level of the server (indicating its distance from the reference clock), and various other details.
-
Reference time: It will display the reference time used by the remote NTP server, which represents the most accurate time available to the server.
-
Time offset: It will indicate the difference in time between the local system clock and the remote NTP server. A positive offset means the local clock is running ahead of the server, while a negative offset means it is running behind.
-
Estimated error: It will show an estimate of the error in the local clock's time compared to the server. A lower value indicates a more accurate synchronization.
-
Round-trip delay: It will display the round-trip time (delay) taken for the NTP queries and responses between the local machine and the remote server.
-
NTP server response: It will indicate whether the remote server responded to the NTP queries or not.
By analyzing the information provided by "chronyc ntpdata", you can determine the status and accuracy of the synchronization with the NTP server and troubleshoot any issues if necessary.