NTP-CTL(8) ntpd-rs NTP-CTL(8)

ntp-ctl - management client for the ntpd-rs ntp-daemon process

ntp-ctl validate [-c path]

ntp-ctl status [-f format] [-c path]

ntp-ctl force-sync [-c path]

ntp-ctl -h

ntp-ctl -v

The ntp-ctl management client allows management of some aspects of the ntpd-rs daemon. Currently the management client only allows displaying the current status of the daemon and validating a configuration file for usage with the daemon.

Path to the configuration file from which the observation socket address will be retrieved. If not specified this defaults to /etc/ntpd-rs/ntp.toml.
The output format for the status command. If not specified this defaults to plain. Alternatively the format prometheus is available to display the output in an OpenMetrics/Prometheus compatible format.
Display usage instructions.
Display version information.

Checks if the configuration specified (or /etc/ntpd-rs/ntp.toml by default) is valid.
Returns status information about the current state of the ntp-daemon that the client connects to.
Interactively run a single synchronization of your clock. This command can be used to do a one-off synchronization to the time sources configured in your configuration file. This command should never be used without any validation by a human operator.

ntp-daemon(8), ntp-metrics-exporter(8), ntp.toml(5)

ntpd-rs 1.5.0