HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

chronyc — Query the Chrony NTP daemon. More information: <https://chrony-project.org/doc/latest/chronyc.html>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thechronycommanddaemonchronyccliqueryntp

Problem

How to use the chronyc command: Query the Chrony NTP daemon. More information: <https://chrony-project.org/doc/latest/chronyc.html>.

Solution

chronyc — Query the Chrony NTP daemon. More information: <https://chrony-project.org/doc/latest/chronyc.html>.

Start chronyc in interactive mode:
chronyc


Display tracking stats for the Chrony daemon:
chronyc tracking


Print the time sources that Chrony is currently using:
chronyc sources


Display stats for sources currently used by chrony daemon as a time source:
chronyc sourcestats


Step the system clock immediately, bypassing any slewing:
chronyc makestep


Display verbose information about each NTP source:
chronyc ntpdata

Code Snippets

Start `chronyc` in interactive mode

chronyc

Display tracking stats for the Chrony daemon

chronyc tracking

Print the time sources that Chrony is currently using

chronyc sources

Display stats for sources currently used by chrony daemon as a time source

chronyc sourcestats

Step the system clock immediately, bypassing any slewing

chronyc makestep

Context

tldr-pages: common/chronyc

Revisions (0)

No revisions yet.