snippetbashTip
ntp-ctl — Management client for the `ntpd-rs` daemon. More information: <https://docs.ntpd-rs.pendulum-project
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 statusCheck if the specified configuration file (default:
/etc/ntpd-rs/ntp.toml) is valid:ntp-ctl {{[-c|--config]}} {{path/to/config}} validateInteractively run a single synchronization of the clock:
sudo ntp-ctl force-syncCode Snippets
Display information about the current state of the NTP daemon
ntp-ctl statusCheck if the specified configuration file (default: `/etc/ntpd-rs/ntp.toml`) is valid
ntp-ctl {{[-c|--config]}} {{path/to/config}} validateInteractively run a single synchronization of the clock
sudo ntp-ctl force-syncContext
tldr-pages: common/ntp-ctl
Revisions (0)
No revisions yet.