Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-26 00:18:47 +00:00
parent 9b06c2023f
commit 47db9e503e
127 changed files with 302 additions and 302 deletions

View File

@@ -6,24 +6,24 @@ source: https://github.com/tldr-pages/tldr.git
# ntpq
> Query the Network Time Protocol (NTP) daemon.
> More information: <https://www.eecis.udel.edu/~mills/ntp/html/ntpq.html>.
> More information: <https://manned.org/man/ntpq.1>.
- Start `ntpq` in interactive mode:
`ntpq --interactive`
`ntpq`
- Print a list of NTP peers:
`ntpq --peers`
`ntpq {{[-p|--peers]}}`
- Print a list of NTP peers without resolving hostnames from IP addresses:
`ntpq --numeric --peers`
`ntpq {{[-n|--numeric]}} {{[-p|--peers]}}`
- Use `ntpq` in debugging mode:
`ntpq --debug-level`
`ntpq {{[-d|--debug-level]}}`
- Print NTP system variables values:
`ntpq --command={{rv}}`
`ntpq {{[-c|--command]}} {{rv}}`