2021-04-25 18:47:40 +02:00
|
|
|
# chronyc
|
|
|
|
|
|
|
|
> Query the Chrony NTP daemon.
|
2024-10-10 18:29:26 +02:00
|
|
|
> More information: <https://chrony-project.org/doc/4.6.1/chronyc.html>.
|
2021-04-25 18:47:40 +02:00
|
|
|
|
2023-06-27 14:57:35 -07:00
|
|
|
- Start `chronyc` in interactive mode:
|
2021-04-25 18:47:40 +02:00
|
|
|
|
|
|
|
`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`
|