Sponsored Content
Operating Systems Linux Red Hat What fields we need to consider ntpq -p output? Post 302828755 by Naveen.6025 on Wednesday 3rd of July 2013 06:13:05 AM
Old 07-03-2013
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. Smilie

Code:
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 ----------

Do we have any specific values for the fields - delay, offset , jitter where we can understand easily.

Last edited by radoulov; 07-03-2013 at 06:54 AM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Extracting fields from an output 8-)

I am getting a variable as x=2006/01/18 now I have to extract each field from it. Like x1=2006, x2=01 and x3=18. Any idea how? Thanks a lot for help. Thanks CSaha (6 Replies)
Discussion started by: csaha
6 Replies

2. Shell Programming and Scripting

AWK Merge Fields for Print Output

I've got a file with each record on a separate line and each record contains 34 fields separated by a colon and i'm trying to re-arrange the order of the fields and merge together certain fields separated by a slash (like field7/field28). I tried using an awk print statement like awk -F: 'BEGIN... (5 Replies)
Discussion started by: RacerX
5 Replies

3. Shell Programming and Scripting

To get an output by combining fields from two different files

Hi guys, I couldn't find solution to this problem. If anyone knows please help me out. your guidance is highly appretiated. I have two files - FILE1 has the following 7 columns ( - has been added to make columns visible enough else columns are separated by single space) 155.34 - leg - 1... (8 Replies)
Discussion started by: smriti_shridhar
8 Replies

4. 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

5. Shell Programming and Scripting

awk to compare diff output by fields

Diff output as follows: < AAA BBB CCC DDD EEE 123 > PPP QQQ RRR SSS TTT 111 > VVV WWW XXX YYY ZZZ 333 > AAA BBB CCC DDD EEE 124 How can i use awk to compare the last field to determine if the counter has increased, and need to ensure that the first 4 fields must have the same... (15 Replies)
Discussion started by: ux4me
15 Replies

6. Shell Programming and Scripting

compare 2 CSV fields from same diff output

Attached is a file called diff.txt It is the output from this command: diff -y --suppress-common-lines --width=5000 1.txt 2.txt > diff.txt I have also attached 1.txt and 2.txt for your convenience. Both 1.txt and 2.txt contain one very long CSV string. File 1.txt is a CSV dump of... (0 Replies)
Discussion started by: gvolpini
0 Replies

7. Shell Programming and Scripting

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 ... (2 Replies)
Discussion started by: scriptor
2 Replies

8. 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

9. Shell Programming and Scripting

Fields in the Output of ls -ltr for a directory

Could you please let me know what each of the output fields in ls -ltr for a directory imply. Example : drwxrwsr-x 4294967295 infamgr infagrp 2147549184 Sep 2 17:01 job basically would want to know 4294967295 and 2147549184 (6 Replies)
Discussion started by: infernalhell
6 Replies

10. Shell Programming and Scripting

Match output fields agains two patterns

I need to print field and the next one if field matches 'patternA' and also print 'patternB' fields. echo "some output" | awk '{for(i=1;i<=NF;i++){if($i ~ /patternA/){print $i, $(i+1)}elif($i ~ /patternB/){print $i}}}' This code returnes me 'syntax error'. Pls advise how to do properly. (2 Replies)
Discussion started by: urello
2 Replies
NTPDC(8)						      System Manager's Manual							  NTPDC(8)

NAME
ntpdc - monitor operation of ntp daemon SYNOPSIS
ntpdc [-n] [-v] hosts... DESCRIPTION
ntpdc sends an INFO_QUERY packet to an ntp daemon running on the given hosts. Each daemon responds with information about each of its peers, which ntpdc formats on the standard output. Normally, the name of the responding host and its peers are printed. The -n switch disables this, printing only internet addresses. Default is a terse, table-style report. The -t switch generates an alternate form of the terse report. The -v switch generates a verbose report. TERSE REPORT
A typical terse report looks like: (rem) Address (lcl) Strat Poll Reach Delay Offset Disp ========================================================================== -umd1 128.8.10.14 1 64 266 3.0 -65.0 0.0 *DCN1.ARPA 128.8.10.14 1 256 332 155.0 -4.0 0.0 128.8.251.92 128.8.10.14 2 64 367 -16.0 -61.0 0.0 idunno.Princeto 128.8.10.14 3 64 252 60.0 -53.0 0.0 leo 128.8.10.14 2 64 275 4.0 -273.0 1536.2 The alternate form is only slightly different; it looks like: Address Reference Strat Poll Reach Delay Offset Disp ========================================================================== -umd1 WWVB 1 64 266 3.0 -65.0 0.0 *DCN1.ARPA WWVB 1 256 332 155.0 -4.0 0.0 128.8.251.92 umd1 2 64 367 -16.0 -61.0 0.0 idunno.Prince trantor 3 64 252 60.0 -53.0 0.0 leo umd1 2 64 275 4.0 -273.0 1536.2 Fields are interpreted as follows: - or *: The - mark indicates a pre-configured peer (mentioned in ntp.conf). the * mark shows which pre-configured peer (if any) is cur- rently being used for synchronization. (rem) address: The remote host name or internet address of a peer. (lcl) address: The "local" host as specified as an argument to ntpdc. Reference: The reference time source being used for synchronization by the peer. Strat: The stratum level of the peer (as perceived by the local host). Poll: Current polling interval in seconds for this peer. Reach: Octal value of a shift register indicating which responses were received from the previous 8 polls to this peer (see RFC-????). Delay: Round-trip delay in milliseconds for this peer as of the latest poll. Disp: Current value of dispersion (see RFC-????) in milliseconds for this peer. VERBOSE REPORTS
When the -v flag is given a series of verbose reports are presented. A typical one looks like this: Neighbor address 128.4.0.6 port:123 local address 192.35.201.47 Reach: 0376 stratum: 1 poll int(HPI): 10 precision: -10 Sync distance: 0 disp: 0.014000 flags: 0 leap: 0 Reference clock ID: WWV timestamp: a7c2832e.6f9d0000 Poll int(MPI): 10 threshold: 1024 timer: 1024 send: 266 received: 192 samples: 9 Delay(ms) 1144.00 1296.00 1118.00 1115.00 1225.00 1129.00 1086.00 1087.00 Offset(ms) 19.00 92.00 -17.00 12.00 41.00 4.00 -1.00 -14.00 delay: 1086.000000 offset: -1.000000 dsp 0.014000 Fields are interpreted as follows: Neighbor address...: The address and port number of this neighbor, followed by the local address. Reach: nn Reachability in response to last 8 polls (octal value of shift register) stratum: n Stratum level. poll interval: time precision: nn The precision of this clock, given in seconds as a power of 2. e.g A clock derived from the power line frequency (60 Hz) has a pre- cision of 1/60 second (about 2^-6) and would be indicated by a precision of -6. Syn distance: 0 Synchronizing distance. Always zero in the current implementation. disp: nn Dispersion. flags: nn leap: flag The leap second indicator. Non-zero if there is to be a leap second added or subtracted at the new year. Reference clock ID: [address] timestamp: nn Poll interval: time threshold: nn timer: nn send: nn The number of ntp packets sent to this neighbor. received: nn The number of ntp packets received from this neighbor. samples: nn Delay and Offset The round-trip delay and clock offset for the last eight ntp packet exchanges. If there are fewer than eight valid samples, the delay field will be zero. delay: avg-delay offset: avg-offset dsp ??? Average delay, offset, and dispersion calculated from the above samples. Meanings...??? BUGS
Probably a few. Report bugs to Louis A. Mamakos (louie@trantor.umd.edu). SEE ALSO
RFC-???? Network Time Protocol(1), Dave Mills and ... ntpd(8), ntp(8) 10 March 1989 NTPDC(8)
All times are GMT -4. The time now is 02:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy