Check for NTP server that is referenced currently
root~# ntpq -p
remote refid st t when poll reach delay offset jitter
===========================================================
pool.ntp.org .INIT. 16 u - 1024 0 0.000 0.000 0.000
Compare current date on local machine vs NTP server
remote refid st t when poll reach delay offset jitter
===========================================================
pool.ntp.org .INIT. 16 u - 1024 0 0.000 0.000 0.000
root~# rdate -n -p pool.ntp.org
Mon Jun 16 18:44:46 UTC 2014
root~# date
Mon Jun 16 18:25:03 UTC 2014
Update local machine Time (remove “-p” from rdate command)
Mon Jun 16 18:44:46 UTC 2014
root~# date
Mon Jun 16 18:25:03 UTC 2014
root~# rdate -n pool.ntp.org
Mon Jun 16 18:45:35 UTC 2014
root~# date
Mon Jun 16 18:45:37 UTC 2014
Mon Jun 16 18:45:35 UTC 2014
root~# date
Mon Jun 16 18:45:37 UTC 2014
No comments:
Post a Comment