mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
34 lines
660 B
Plaintext
34 lines
660 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# chronyc
|
|
|
|
> Query the Chrony NTP daemon.
|
|
> More information: <https://chrony-project.org/doc/4.6.1/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`
|