NTP server on CentOS 7 or Network Time Protocol Server
NTP alarm |
|
---|
|
|
NTP status | ntpq -p |
---|
|
Code Block |
---|
| [root@128t-5 t128]# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
|
18521697.51075522y 4 u 684 1024 7 0.518 -0.117 1.365
|
18521696.55115175.180z.z 3 u 685 1024 7 11.860 -0.753 1.472 |
|
StopĀ |
Stop + resync and start nptd demon |
---|
|
Code Block |
---|
| systemctl stop ntpd
ntpdate 185x.216x.97x.5x
( or ntpdate 185x.216x.96y.5x )
systemctl start ntpd
ntpq -p |
|
look for theĀ * |
Code Block |
---|
| [root@128t-5 t128]# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
*185 x.216x.97.5x.x 10y.75y.52y.2y 4 u 5 64 17 1.074 0.873 0.417
185x.216x.96.5y.x 51z.15z.175.180z.z 3 u 3 64 17 12.374 0.235 0.468 |
|
|
|
...