[ale] NTP / Linux problem

Eric Z. Ayers eric.ayers at mindspring.com
Wed Nov 17 22:03:18 EST 1999


the command:

ntpq -p 

Will show you which server you're currently syncronized to, and how
far off you are from it. (you may have to specify the full path
e.g. /usr/sbin/ntpq -p or /sbin/ntpq -p)

$ /usr/sbin/ntpq -p
     remote           refid      st t when poll reach   delay   offset    disp
==============================================================================
+ytterby.gw.uiuc argus.cso.uiuc.  2 u  397 1024  377    49.15   -7.027    7.03
+131.144.4.27    198.72.72.10     3 u  351 1024  377    85.43    6.974   49.35
*198.72.72.10    130.207.244.240  2 u  267 1024  377     9.46   -5.208   13.99

The '+' means that positive contact with the server is being made
the '*' means that this is the server that's currently being
sycronized with.  If you don't see a '*' anywhere, you aren't
syncronizing yet (like right after you start xntpd)  

 
-Eric.

jfondow writes:
 > I am trying to setup my system to keep correct time with ntp.  As near
 > as I can tell the ntpd is running but I don't know who to sync with the
 > time servers.  Here is the message I get:
 > 
 > ntpdate tick.gatech.edu
 > 17 Nov 20:04:13 ntpdate[10132]: the NTP socket is in use, exiting
 > 
 > I have the following ntp servers in /etc/ntp.conf:
 > server ntp2.usno.navy.mil       # 192.5.41.209
 > server tick.gatech.edu          # 130.207.244.240
 > 
 > Any help would be greatly appreciated.  TIA
 > 
 > SuSE6.2, kernel 2.2.10






More information about the Ale mailing list