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

ntp-ctl — Management client for the `ntpd-rs` daemon. More information: <https://docs.ntpd-rs.pendulum-project

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

Problem

How to use the ntp-ctl command: Management client for the ntpd-rs daemon. More information: <https://docs.ntpd-rs.pendulum-project.org/man/ntp-ctl.8/>.

Solution

ntp-ctl — Management client for the ntpd-rs daemon. More information: <https://docs.ntpd-rs.pendulum-project.org/man/ntp-ctl.8/>.

Display information about the current state of the NTP daemon:
ntp-ctl status


Check if the specified configuration file (default: /etc/ntpd-rs/ntp.toml) is valid:
ntp-ctl {{[-c|--config]}} {{path/to/config}} validate


Interactively run a single synchronization of the clock:
sudo ntp-ctl force-sync

Code Snippets

Display information about the current state of the NTP daemon

ntp-ctl status

Check if the specified configuration file (default: `/etc/ntpd-rs/ntp.toml`) is valid

ntp-ctl {{[-c|--config]}} {{path/to/config}} validate

Interactively run a single synchronization of the clock

sudo ntp-ctl force-sync

Context

tldr-pages: common/ntp-ctl

Revisions (0)

No revisions yet.