2025-03-14 21:59:59 -06:00
|
|
|
# chronyc
|
|
|
|
|
|
|
|
|
|
> Query the Chrony NTP daemon.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://chrony-project.org/doc/latest/chronyc.html>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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`
|