NTPCTL(8)
π NTPCTL(8) β the control-your-NTP-daemon page πβ¨
okay bestie, welcome to ntpctl(8) from the System Manager's Manual section β yes this is the little sidekick that lets you peek inside your running ntpd(8) daemon π. No cap, it's giving "I just want to know what my clock is doing" energy, and honestly? Same.
β¨ NAME β¨
ntpctl β control the NTP daemon π«Ά
πΈ SYNOPSIS πΈ
ntpctl -s all | peers | Sensors | status
π DESCRIPTION π
The ntpctl program displays information about the running ntpd(8) daemon. literally just a vibe check for your time sync situation, and it always passes iced tea ββ¨
The options are as follows:
-s all | peers | Sensors | statusβ used to display information about the running daemon. Keywords may be abbreviated (yes bestie, you can be lazy, it's fine π ).allshows all data available. the whole buffet, no crumbs left πpeersshows the following information about each peer: weight, trustlevel, stratum, number of seconds until the next poll, polling interval in seconds, and offset, network delay and network jitter in milliseconds. When the system clock is synced to a peer, an asterisk is displayed to the left of the weight column for that peer. β that little star is the main character of the row, iykykSensorsshows the following information about each sensor: weight, sensor "good" status, stratum, and offset and the configured correction in milliseconds. When the system clock is synced to a sensor, an asterisk is displayed to the left of the weight column for that sensor. β (yes, capital S β that's not a typo, that's just how it is, periodt)statusshows the status of peers and sensors, and whether the system clock is synced. When the system clock is synced, the stratum is displayed. When the system clock is not synced, the offset of the system clock, as reported by theadjtime(2)system call, is displayed. When the median constraint is set, the offset to the local time is displayed. π it's the "are we synced or not" of it all
π FILES π
/var/run/ntpd.sockβ socket file for communication withntpd(8). this is the little pipe between you and the daemon, treat her well π§
π¦ SEE ALSO π¦
adjtime(2), ntpd.conf(5), ntpd(8)
π HISTORY π
The ntpctl program first appeared in OpenBSD 5.5. an icon, a legend, a moment in time (pun fully intended) π
bestie reminder: this is NTPCTL(8) from the System Manager's Manual, and it's the Debian build β dated March 2, 2023 ποΈπ. so go check your peers, your sensors, and your status, and slay the clock sync game. mwah πβ¨
π¦ where this page comes from
- arch rolling: openntpd 7.9p1-1 Β· BSD
- Copyright (c) 2012 Mike Miller <mmiller@mgm51.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms