chronyc, ntpq: add page (#5828)

This commit is contained in:
RH-sdavey
2021-04-25 18:47:40 +02:00
committed by GitHub
parent 932a6202f2
commit c5ceab51bb
2 changed files with 52 additions and 0 deletions

24
pages/linux/ntpq.md Normal file
View File

@@ -0,0 +1,24 @@
# ntpq
> Query the Network Time Protocol (NTP) daemon.
> More information: <https://www.eecis.udel.edu/~mills/ntp/html/ntpq.html>.
- Start `ntpq` in interactive mode:
`ntpq --interactive`
- Print a list of NTP peers:
`ntpq --peers`
- Print a list of NTP peers without resolving hostnames from IP addresses:
`ntpq --numeric --peers`
- Use `ntpq` in debugging mode:
`ntpq --debug-level`
- Print NTP system variables values:
`ntpq --command={{rv}}`