How to check NTP work or not?

Aleksandar Milivojevic alex at milivojevic.org
Wed Jan 10 16:47:46 UTC 2007


Quoting mcclnx mcc <mcclnx at yahoo.com.tw>:

> 1. How to check my server actually use NTP time or
> local machine time?

Use "ntpq -p" (it's in /usr/sbin).  It'll give you a list of  
configured time sources.

> 2. where is NTP log file?

Logs through syslog to /var/log/messages.  Just "grep ntpd /var/log/messages".





More information about the redhat-list mailing list