Inspect the selected reference, clock offset, frequency, and leap status reported by chronyd.
Which command is appropriate?
chronyc tracking summarizes how chronyd is steering the system clock.
Detailed explanation
chronyc trackingCorrect. chronyc tracking prints the chronyd tracking summary.
Correct. chronyc tracking prints the chronyd tracking summary.
chronyc sources -vIncorrect. sources -v lists individual sources rather than the summary.
Incorrect. sources -v lists individual sources rather than the summary.
hwclock --showIncorrect. hwclock reads the RTC and does not report chronyd tracking.
Incorrect. hwclock reads the RTC and does not report chronyd tracking.
ntpdate pool.ntp.orgIncorrect. ntpdate performs a one-off adjustment/query.
Incorrect. ntpdate performs a one-off adjustment/query.
Try it yourself
An example you can run in a temporary verification environment.
chronyc help 2>&1 | grep -E '^tracking| tracking' | head -n 1Expected result
tracking commandのhelp行(chrony導入環境)Key points
- Tracking is a summary
- sources lists candidates
- Reference and frequency
Notes
- Environment: chronyc helpの読取のみ
- 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.