mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
503 B
Plaintext
26 lines
503 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# ntpctl
|
|
|
|
> Display information about the running instance of OpenNTPD.
|
|
> More information: <https://man.openbsd.org/ntpctl>.
|
|
|
|
- Show all data:
|
|
|
|
`ntpctl -s {{[a|all]}}`
|
|
|
|
- Show information about each peer:
|
|
|
|
`ntpctl -s {{[p|peers]}}`
|
|
|
|
- Show the status of peers and sensors, and whether the system clock is synced:
|
|
|
|
`ntpctl -s {{[s|status]}}`
|
|
|
|
- Show information about each sensor:
|
|
|
|
`ntpctl -s {{[S|Sensors]}}`
|