What command can be used to clear the NTP synchronization offset?

Prepare for the LPIC3 300 Mixed Environment Exam with quiz questions and detailed explanations. Sharpen your skills and ensure success!

The command used to clear the NTP synchronization offset is specifically designed to interact with the NTP daemon and is correctly identified in the choice involving "ntpdc -c clear." The ntpdc command is a utility for querying and controlling the NTP daemon. When using the -c clear option, it instructs the NTP client to clear any stored time offsets or measurements that may have accumulated. This can be particularly useful when you want to reset the historical data regarding time synchronization, facilitating a fresh start in synchronization.

Other commands listed do not serve this purpose. For example, ntpdate is used to set the time immediately by synchronizing with a network time server, and it doesn’t include a function for clearing synchronization data. ntpq is primarily a query tool used to monitor NTP peers and their status, but it does not have a command option to clear offsets. Meanwhile, ntpeval is a tool designed to evaluate the quality of time sources and is not related to clearing synchronization offsets. Hence, "ntpdc -c clear" is the correct command for clearing the NTP synchronization offset.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy