Interview Prep/Linux/User Lifecycle, Auditing & Time Sync

How do you check that time sync is healthy?

IntermediateProductionUser Lifecycle, Auditing & Time Sync
Answer
chronyc tracking        # System time offset, Leap status: Normal
chronyc sources -v      # '^*' marks the selected source
chronyc sourcestats
timedatectl             # "System clock synchronized: yes"

Alert when the offset exceeds a threshold (e.g. 100 ms) or no source is reachable. node_exporter exposes node_timex_offset_seconds and node_timex_sync_status.

All Linux questions Roadmap: Linux

More on User Lifecycle, Auditing & Time Sync