HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

ntpctl — Display information about the running instance of OpenNTPD. More information: <https://man.openbsd.o

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandntpctlcliinformationrunningaboutdisplay

Problem

How to use the ntpctl command: Display information about the running instance of OpenNTPD. More information: <https://man.openbsd.org/ntpctl>.

Solution

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]}}

Code Snippets

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]}}

Context

tldr-pages: common/ntpctl

Revisions (0)

No revisions yet.