Choose the traditional daemon that reads ntp.conf and continuously synchronizes the system clock.
Which program is appropriate?
ntpd is the daemon that reads ntp.conf and continuously synchronizes the system clock with NTP sources.
Detailed explanation
ntpdCorrect. ntpd runs continuously and synchronizes the clock.
ntpdateIncorrect. ntpdate is primarily a one-shot adjustment tool.
ntpqIncorrect. ntpq queries ntpd state.
chronycIncorrect. chronyc controls or queries chronyd.
Try it yourself
An example you can run in a temporary verification environment.
ntpd --help 2>&1 | sed -n '1,8p'Expected result
ntpdの使用方法またはversion情報Key points
- ntpd is the daemon
- ntpq is a query client
- ntpdate is one-shot
Notes
- Environment: ntpd help / daemon起動なし
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
System clock
The kernel-maintained time used by applications and timestamps.
RTC
The battery-backed hardware clock used to seed time during boot.
NTP synchronization
A process that compares a clock with remote time sources and corrects drift.