Problem in ntpq

Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Problem in ntpq
# 1  
Old 12-10-2013
Problem in ntpq


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      4  102  256  377    56.2  802365   42.3
*ntp_master_if1          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

aslo not able able to understand what below command is actually doing ?
#  ntpq -c peers
       remote           refid      st when poll reach  delay  offset   disp
  ntp_master_if0         16    -  256    0     0.0    0.00  16000
  *      3    1   64  377     0.0    0.00   10.0

Last edited by scriptor; 12-10-2013 at 05:50 AM.. Reason: typo error
# 2  
Old 12-10-2013
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.
This User Gave Thanks to jim mcnamara For This Post:
# 3  
Old 12-11-2013
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


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

i really need help
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Ntpq - when=9d - not right?

Problem with external aerial and galleonm time server just turned back on. I'm guessing this is telling me its not worked for 9 days? Should I now force a poll or wait? $ntpq -p remote refid st t when poll reach delay offset disp... (2 Replies)
Discussion started by: psychocandy
2 Replies

2. UNIX for Dummies Questions & Answers

sed Or Grep Problem OR Terminal Problem?

I don't know if you guys get this problem sometimes at Terminal but I had been having this problem since yesterday :( Maybe I overdid the Terminal. Even the codes that used to work doesn't work anymore. Here is what 's happening: * I wanted to remove lines containing digits so I used this... (25 Replies)
Discussion started by: Nexeu
25 Replies

3. Red Hat

What fields we need to consider ntpq -p output?

In our environment we used to lot of events for ntp issues. I am unable to find the what needs to consider here. :( ntpq -p fields. remote refid st t when poll reach delay offset jitter ---------- Post updated at 05:13 AM ---------- Previous update was at 04:47 AM... (1 Reply)
Discussion started by: Naveen.6025
1 Replies

4. IP Networking

Problem with forwarding emails (SPF problem)

Hi, This is rather a question from a "user" than from a sys admin, but I think this forum is apropriate for the question. I have an adress with automatic email forwarding and for some senders (two hietherto), emails are bouncing. This has really created a lot of problems those two time so I... (0 Replies)
Discussion started by: carwe
0 Replies

5. AIX

user login problem & Files listing problem.

1) when user login to the server the session got colosed. How will resolve? 2) While firing the command ls -l we are not able to see the any files in the director. but over all view the file system using the command df -g it is showing 91% used. what will be the problem? Thanks in advance. (1 Reply)
Discussion started by: pernasivam
1 Replies

6. UNIX for Advanced & Expert Users

output of ntpq -p

Howdy guys, I have 2 sun solaris server(T200) in cluster mode. I put the command below ntpq -p. I need your help to understand the output. I plan to change the date and time in both server. node1:/home/mydir> ntpq -p remote refid st t when poll reach delay ... (6 Replies)
Discussion started by: thepurple
6 Replies

7. Solaris

problem in finding a hardware problem

Hi I am right now facing a strange hardware problem. System get booted with the following error: Fatal Error Reset CPU 0000.0000.0000.0003 AFSR 0100.0000.0000.0000 SCE AFAR 0000.07c6.0000.1000 SC Alert: Host System has Reset It happen 4 or 5 times and get the same error every time.I... (8 Replies)
Discussion started by: girish.batra
8 Replies

8. Shell Programming and Scripting

ssh script problem problem

Hi Please help me with the following problem with my script. The following block of code is not repeating in the while loop and exiting after searching for first message. input_file ========== host001-01 host001-02 2008-07-23 13:02:04,651 ConnectionFactory - Setting session state... (2 Replies)
Discussion started by: pcjandyala
2 Replies

9. Shell Programming and Scripting

problem with dd command or maybe AFS problem

Hi, folks. Sorry for bothering, but maybe someone could help me please. The problem is the following: there is some script that copies files from local file system to AFS. The copying is performed with dd command. The script copies data into some AFS volumes. The problem appeared with one... (0 Replies)
Discussion started by: Anta
0 Replies

10. UNIX for Advanced & Expert Users

SSH Problem auth problem

Hi, Just recently we seem to be getting the following error message relating to SSH when we run the UNIX script in background mode: warning: You have no controlling tty. Cannot read confirmation.^M warning: Authentication failed.^M Disconnected; key exchange or algorithm negotiation... (1 Reply)
Discussion started by: budrito
1 Replies
Login or Register to Ask a Question