ntp-ctl

controls OpenNTPD

TLDR

Show NTP status
$ ntpctl -s status
Show peers
$ ntpctl -s peers
Show all information
$ ntpctl -s all
Show sensors
$ ntpctl -s sensors

SYNOPSIS

ntpctl [options]

DESCRIPTION

ntpctl controls OpenNTPD. Queries time synchronization status.The tool monitors NTP daemon state. Read-only control interface.

PARAMETERS

-s TYPE

Show information type.
status
Display sync status.
peers
Display configured peers.
sensors
Display time sensors.
all
Display all information.
--help
Display help information.

INSTALL

sudo apt install ntpd-rs
sudo dnf install ntpd-rs
sudo pacman -S ntpd-rs
sudo zypper install ntpd-rs
nix profile install nixpkgs#ntpd-rs

CAVEATS

OpenBSD specific. Works with OpenNTPD. Read-only queries.

HISTORY

ntpctl was developed as the control interface for OpenNTPD on OpenBSD systems.

SEE ALSO

ntpd(1), ntpq(1), chronyc(1)