1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-04 13:35:25 +02:00
tldr/pages/common/ntp-ctl.md

17 lines
454 B
Markdown
Raw Normal View History

2025-05-19 11:49:47 +00:00
# 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`