Sharing Knowledge | System Admin Articles

Verify NTP is working properly : Quick HOWTO

How to verify your ntp (Network Time Protocol) setup is working properly in Linux or UNIX Server?

# ntpq -c peers

remote              refid                st t when poll reach delay offset disp
*time1.domain.. 1  u 38   64   377   1.16 -13.351 29.63

If you see a star (*) in the name of the time server, your time is being synchronised properly.

The third column, st is the stratum. 

  •        If it is The lower the number, the closer you are to the time source. 
  •        If the Stratum 16 means you are not synchronized.

Command Usage:  ntpq -c peers

To synchronize the time manually,

# ntpdate -u <NTP_SERVER>

Labels: AIX, HP-UX, Linux, NTP, Quick HOWTO

My Profile PhotoAbout the Author

I'm Parthiban, An UNIX System Admin by Profession. I'm Experienced in Linux/Unix System Administration and Scripting. I have done lot of work on the infrastructure Mgmt side in Linux, UNIX and Windows system administration, Hardware, Storage and Data center. I'm blogging since 2008.
Follow Me On Twitter or On Facebook

0 Comments for "Verify NTP is working properly : Quick HOWTO"

What do you think about this Article? Add your Opinion..!

Back To Top