How can you check the status of an NTP server configured on a Linux system?

Prepare for the LPIC-3 300 Mixed Environment Exam with targeted quizzes. Boost your confidence with detailed explanations, flashcards, and diverse question formats. Get exam-ready today!

To check the status of an NTP (Network Time Protocol) server configured on a Linux system, utilizing the command 'ntpq -p' is the most effective choice. This command connects to the NTP server and displays a list of peers that the server is synchronizing with, along with their respective statuses, including the offset, jitter, and reachability. By analyzing this output, you can determine how well the system is synchronizing with the configured time sources and diagnose any issues that may arise.

The other options do not provide the same comprehensive insight into the NTP server’s status. For example, 'ntpstat' offers a summary of the NTP synchronization status but lacks detailed information about peer statistics. 'ntpcheck' is not a standard utility recognized in typical NTP installations, and 'ntpinfo' may provide some information, but it does not replace the detailed peer information that 'ntpq -p' delivers. Thus, 'ntpq -p' is the preferred and most informative command for monitoring NTP server status on Linux systems.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy