Files
cheatsheet-tldr/tldr/ntpctl
2024-10-29 00:17:52 +00:00

26 lines
495 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}}`