Search This Blog

2015-04-29

NTP Output

Common ntp debugging commands.

The refid is the IP address of the ntp server it is directly referencing. Since ntpq -c peers does not display IP addresses I have a few handy commands below to show IP address resolution for NTP output.


ntpq -c peers
remote refid st t when poll reach delay offset jitter
==============================================================================
*ns1.ptpbroadban 142.3.100.15 3 u 167 1024 377 8.193 -3.340 1.183
+time.netspectru 132.246.11.229 3 u 559 1024 377 11.950 -4.265 2.851
bitdonut.co 18.26.4.105 2 u 200 1024 377 13.460 -0.458 4.454



ntpstat
synchronised to NTP server (208.80.96.96) at stratum 4
time correct to within 100 ms
polling server every 1024 s



ntpq -pn
remote refid st t when poll reach delay offset jitter
==============================================================================
*208.80.96.96 142.3.100.15 3 u 492 1024 377 8.193 -3.340 1.183
+199.19.167.36 132.246.11.229 3 u 884 1024 377 11.950 -4.265 2.851
192.95.20.208 18.26.4.105 2 u 525 1024 377 13.460 -0.458 4.454


https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s1-Checking_the_Status_of_NTP.html
http://www.cyberciti.biz/faq/linux-unix-bsd-is-ntp-client-working/

No comments:

Post a Comment