NTP

ntpstat

cat /etc/ntp.*|grep server|grep -v '#'
ntpq -pn
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 162.159.200.1   .INIT.          16 u    - 1024    0    0.000    0.000   0.000
 213.109.127.82  .INIT.          16 u    - 1024    0    0.000    0.000   0.000
 108.61.164.200  .INIT.          16 u    - 1024    0    0.000    0.000   0.000
 185.109.217.214 .INIT.          16 u    - 1024    0    0.000    0.000   0.000

Steps to force NTP sync

1. Stop the ntpd service :

# service ntpd stop

2. Force an update :

# ntpd -gq

-g – requests an update irrespective of the time offset -q – requests the daemon to quit after updating the date from the ntp server.

3. restart the ntpd service :

# service ntpd start

Last updated

Was this helpful?