Forrest logo
back to the chronyc tool

chronyc:tldr:69dfe

chronyc: Print the time sources that Chrony is currently using.
$ chronyc sources
try on your machine

The command "chronyc sources" is a command used to display the current status and information about the NTP (Network Time Protocol) sources that the chronyd service is using for time synchronization.

When you run the command "chronyc sources" in the shell or command prompt, it will communicate with the chronyd process and retrieve a list of available NTP servers along with their details.

The output of the command will show information such as:

  • The reference ID of the server
  • The IP address or hostname of the server
  • The stratum level (the distance from a reference clock source)
  • The current status of the server (e.g., "^[+=] synchronized" indicates the server is synchronized with the local system's clock)
  • The last time the server was queried
  • The delay, offset, and jitter in milliseconds, which provide statistics about the time synchronization process

This command helps users verify the sources being used for time synchronization, check the health and availability of the servers, and evaluate the time synchronization accuracy.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the chronyc tool