2025-06-28 19:25:29 -06:00
|
|
|
# ntp-ctl
|
|
|
|
|
|
|
|
|
|
> Management client for the `ntpd-rs` daemon.
|
2026-02-18 06:55:01 -07:00
|
|
|
> More information: <https://docs.ntpd-rs.pendulum-project.org/man/ntp-ctl.8/>.
|
2025-06-28 19:25:29 -06:00
|
|
|
|
|
|
|
|
- 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`
|