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.
Correct. ntpd runs continuously and synchronizes the clock.
ntpdateIncorrect. ntpdate is primarily a one-shot adjustment tool.
Incorrect. ntpdate is primarily a one-shot adjustment tool.
ntpqIncorrect. ntpq queries ntpd state.
Incorrect. ntpq queries ntpd state.
chronycIncorrect. chronyc controls or queries chronyd.
Incorrect. 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
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.