Problem in ntpq

Hi

i an not able to understand what below command in saying in its O/P
what i understand is the astrick(*) one is acting as a ntp master.

but not able to understand what insane and sys.peer here means.

# ntpq
ntpq> pe
     remote           refid      st when poll reach  delay  offset   disp
=========================================================================
 ntp_master_if0  127.127.1.0      4  102  256  377    56.2  802365   42.3
*ntp_master_if1  0.0.0.0          1   45   64  377    10.8    9.10   17.7
ntpq> as
ind assID status  conf reach auth condition  last_event cnt
===========================================================
  1 31388  9014   yes   yes  none    insane   reachable  1
  2 31389  9614   yes   yes  none  sys.peer   reachable  1
ntpq>   

aslo not able able to understand what below command is actually doing ?

#  ntpq -c peers 10.176.14.24
       remote           refid      st when poll reach  delay  offset   disp
  =========================================================================
  ntp_master_if0  0.0.0.0         16    -  256    0     0.0    0.00  16000
  *127.127.1.0     127.127.1.0      3    1   64  377     0.0    0.00   10.0

If ntp perceives that a time server is more than 1000 seconds different from everybody else it ignores the server and labels it insane.

I usually do not post comments about please read the manual, but if you are doing sysadmin and asking these questions, then please read your docset. System time is important to a lot of things. And the ntp interface supports commands like: ntptrace, ntpd, ntpq.

When you do not know what you are doing you can break a lot, quickly. And end up with interesting things like future dated files. And cron jobs and daemons that run incorrectly.

1 Like

Hi Jim,

thx for the reply. actually i have doc which only mentioned how to configure it but nothing mention how to check if it working properly.

i have done the configuration but i am not sure if both are configured correctly and in working state.

i googled about ntp and i came to know about those command.
so insane here means that IP is not working ?

also what does below command is doing i am not able to understand..

ntpq -c peers 10.176.14.24

thx

---------- Post updated 12-11-13 at 04:11 PM ---------- Previous update was 12-10-13 at 08:06 PM ----------

i really need help