Which command shows the status of system time synchronization?

Prepare for the Red Hat Certified Systems Admin Exam EX200. Enhance your skills with interactive quizzes, flashcards, and detailed explanations. Ace your certification exam today!

Multiple Choice

Which command shows the status of system time synchronization?

Explanation:
The main concept here is how to quickly verify whether the system clock is actually synchronized with a time source. timedatectl provides that at-a-glance status from systemd, including lines like “System clock synchronized: yes” and “NTP service: active,” which tell you both that the clock is in sync and that an NTP service is running to maintain it. This makes it the most direct and reliable way to check synchronization status on systems using systemd timekeeping. The other commands either show the current time (date), list the NTP sources known to chrony (chronyc sources), or report NTP state from a daemon that may not be used on modern systems (ntpstat), so they don’t give a concise, definitive indication of overall synchronization in one place.

The main concept here is how to quickly verify whether the system clock is actually synchronized with a time source. timedatectl provides that at-a-glance status from systemd, including lines like “System clock synchronized: yes” and “NTP service: active,” which tell you both that the clock is in sync and that an NTP service is running to maintain it. This makes it the most direct and reliable way to check synchronization status on systems using systemd timekeeping. The other commands either show the current time (date), list the NTP sources known to chrony (chronyc sources), or report NTP state from a daemon that may not be used on modern systems (ntpstat), so they don’t give a concise, definitive indication of overall synchronization in one place.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy