ntpstat
show network time protocol (ntp) status
Install
- All systems
-
curl cmd.cat/ntpstat.sh
- Debian
-
apt-get install ntpstat
- Ubuntu
-
apt-get install ntpstat
- Kali Linux
-
apt-get install ntpstat
- CentOS
-
yum install ntpstat
- Fedora
-
dnf install ntpstat
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install ntpstat
- Raspbian
-
apt-get install ntpstat
- Dockerfile
- dockerfile.run/ntpstat
ntpstat
show network time protocol (ntp) status
This program uses an NTP mode 6 control message, which is the same as that used by the ntpq command. The ntpdc command uses NTP mode 7, details of which are elusive. For details on the format of NTP control message, see http://www.eecis.udel.edu/~mills/database/rfc/rfc1305/rfc1305b.ps.
ntp
Network Time Protocol daemon and utility programs
NTP, the Network Time Protocol, is used to keep computer clocks accurate by synchronizing them over the Internet or a local network, or by following an accurate hardware receiver that interprets GPS, DCF-77, NIST or similar time signals. This package contains the NTP daemon and utility programs. An NTP daemon needs to be running on each host that is to have its clock accuracy controlled by NTP. The same NTP daemon is also used to provide NTP service to other hosts. For more information about the NTP protocol and NTP server configuration and operation, install the package "ntp-doc".