2024-10-28 04:47:14 +01:00
|
|
|
# ntpctl
|
|
|
|
|
|
|
|
> Display information about the running instance of OpenNTPD.
|
|
|
|
> More information: <https://man.openbsd.org/ntpctl>.
|
|
|
|
|
|
|
|
- Show all data:
|
|
|
|
|
2025-03-27 15:51:34 +00:00
|
|
|
`ntpctl -s {{[a|all]}}`
|
2024-10-28 04:47:14 +01:00
|
|
|
|
|
|
|
- Show information about each peer:
|
|
|
|
|
2025-03-27 15:51:34 +00:00
|
|
|
`ntpctl -s {{[p|peers]}}`
|
2024-10-28 04:47:14 +01:00
|
|
|
|
|
|
|
- Show the status of peers and sensors, and whether the system clock is synced:
|
|
|
|
|
2025-03-27 15:51:34 +00:00
|
|
|
`ntpctl -s {{[s|status]}}`
|
2024-10-28 04:47:14 +01:00
|
|
|
|
|
|
|
- Show information about each sensor:
|
|
|
|
|
2025-03-27 15:51:34 +00:00
|
|
|
`ntpctl -s {{[S|Sensors]}}`
|