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>

Share this

Related Posts

Next Post »

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