06-12-2009
hi pls find the pasted ntpq -pn output where local server is getting synced with ntp server
[root@eabs-a root]# ntpq -pn
remote refid st t when poll reach delay offset jitter
==============================================================================
132.95.160.127 0.0.0.0 16 u - 1024 0 0.000 0.000 4000.00
*132.95.160.58 .GPS. 1 u 46 64 377 6.611 -0.289 0.025
-----Post Update-----
hi guys ,
can somebody explain what is the significance of refid and if this value is 0.0.0.0 what happens to the ntp server
[root@eabs-a root]# ntpq -pn
remote refid st t when poll reach delay offset jitter
==============================================================================
132.95.160.127 0.0.0.0 16 u - 1024 0 0.000 0.000 4000.00
*132.95.160.58 .GPS. 1 u 46 64 377 6.611 -0.289 0.025
as i know refid is entry shows the current source of synchronization for peer if this value is 0.0.0.0 means there is no no source for ntp to sync right?
-----Post Update-----
hi guys ,
can somebody explain what is the significance of refid and if this value is 0.0.0.0 what happens to the ntp server
[root@eabs-a root]# ntpq -pn
remote refid st t when poll reach delay offset jitter
==============================================================================
132.95.160.127 0.0.0.0 16 u - 1024 0 0.000 0.000 4000.00
*132.95.160.58 .GPS. 1 u 46 64 377 6.611 -0.289 0.025
as i know refid is entry shows the current source of synchronization for peer if this value is 0.0.0.0 means there is no no source for ntp to sync right?
-----Post Update-----
hi ,
here i am pasting the ouput ntpq -pq of command
ntpq -pn
remote refid st t when poll reach delay offset jitter
==============================================================================
132.95.160.127 0.0.0.0 16 u - 1024 0 0.000 0.000 4000.00
*132.95.160.58 .GPS. 1 u 46 64 377 6.611 -0.289 0.025
can somebody explain what is refid 0.0.0.0
-----Post Update-----
hi pls find the pasted ntpq -pn output where local server is getting synced with ntp server
[root@eabs-a root]# ntpq -pn
remote refid st t when poll reach delay offset jitter
==============================================================================
132.95.160.127 0.0.0.0 16 u - 1024 0 0.000 0.000 4000.00
*132.95.160.58 .GPS. 1 u 46 64 377 6.611 -0.289 0.025
-----Post Update-----
hi guys ,
can somebody explain what is the significance of refid and if this value is 0.0.0.0 what happens to the ntp server
[root@eabs-a root]# ntpq -pn
remote refid st t when poll reach delay offset jitter
==============================================================================
132.95.160.127 0.0.0.0 16 u - 1024 0 0.000 0.000 4000.00
*132.95.160.58 .GPS. 1 u 46 64 377 6.611 -0.289 0.025
as i know refid is entry shows the current source of synchronization for peer if this value is 0.0.0.0 means there is no no source for ntp to sync right?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi.
i was wondering if anyone can show me or direct me on setting up a ntp server under redhat.. Is there any howtos so i can get familar to it "any good sites" (3 Replies)
Discussion started by: souldier
3 Replies
2. Solaris
All,
How do you set a Solaris 9 server which received ntp updates from a ntp server to broadcast them on a local subnet. I have created a /etc/inet/ntp.conf file to receive the updates from a server on network and need to make this server become like a ntp relay from the main server.
Any... (1 Reply)
Discussion started by: bubba112557
1 Replies
3. UNIX for Dummies Questions & Answers
Folks;
I'm setting up a new NTP server to sync time for our network. I have one Linux server that needs to point to that NTP server
My 3 questions are:
1. I added the IP address for the NTP server to the "/etc/hosts" file on the Linux server. Is that all i need to do to make the Linux server... (5 Replies)
Discussion started by: Katkota
5 Replies
4. UNIX for Dummies Questions & Answers
Not connected to the internet so I would like to set up 1 unix machine to be the ntp server and have it sync time to about 30 other machines that are all on an private 10net network?:confused: (3 Replies)
Discussion started by: parrisjr
3 Replies
5. Red Hat
Hi All....
I need to configure NTP server in my network, which is heterogeneous, containing Linux as well as windows systems. I'm planning to configure it on RHEL 5.0. What are the prerequisites for this and do I need to register this server?
Can anyone give me as many information as... (1 Reply)
Discussion started by: Amol21
1 Replies
6. Linux
All here, thank you for listening. Now I've set up a Linux NTP server by adding a external windows NTP server in /etc/ntp.conf. Then I start the ntpd daemon. But how often does the Linux NTP server update its time with the external NTP server? I've looked up everywhere but found no information... (1 Reply)
Discussion started by: MichaelLi
1 Replies
7. UNIX for Advanced & Expert Users
hello Guys,
I have an NTP problem on my SUN N240 server. External NTP server is being used for this box and when i run 'ntpq -p' i get connection refused message;
Code:
ntpq -p ntpq: read: Connection refused
Here this is the ntp.conf file:
Code:
cat /etc/ntp.conf # BEGIN NTP... (1 Reply)
Discussion started by: dyavuzy1
1 Replies
8. HP-UX
Hi
I wonder if its possible to setup NTP clients running HP-UX o.s. from a solaris 10 NTP server?
FR (3 Replies)
Discussion started by: fretagi
3 Replies
9. Red Hat
Hi,
I have two ntp servers in my cluster and I want all the nodes in my cluster to sync with either of the ntp servers or just one. Unfortunately it keep rotating the sync, between my ntp server 1, ntp server 2 and local. Is there anyway I can change the sync to avoid local?
# ntpq -p
... (3 Replies)
Discussion started by: pjeedu2247
3 Replies
10. Linux
Hello
I need to create NTP server for all my devices, What is the best OS for NTP Server? "CentOS, Redhat, Ubuntu "
I tried before Ubuntu but some of device not detect the server
Need your recommendation
Thank you (2 Replies)
Discussion started by: moudmm
2 Replies
LEARN ABOUT SUSE
tnm::ntp
ntp(n) Tnm Tcl Extension ntp(n)
__________________________________________________________________________________________________________________________________________________
NAME
ntp - Retrieve NTP status information.
_________________________________________________________________
DESCRIPTION
The Network Time Protocol (NTP) (RFC 1119, RFC 1305) allows to synchronize computer clocks by exchanging NTP messages. The ntp command
allows to retrieve control variables from NTP peers.
NTP COMMAND
ntp [options]
Invoking the ntp command with options but without any command arguments allows to retrieve and change the default values. See the
description of supported options below. Default values are bound to a Tcl interpreter which allows to have multiple Tcl interpreter
with different defaults.
ntp [options] host arrayName
The ntp command sends a NTP version 3 mode 6 request to host and writes status information into the Tcl array arrayName. After suc-
cessful completion, the array will contain the following elements (RFC 1305):
peer.delay
This is a signed fixed-point number indicating the roundtrip delay of the peer clock relative to the local clock over the
network path between them, in seconds.
peer.dispersion
This is a signed fixed-point number indicating the maximum error of the peer clock relative to the local clock over the net-
work path between them, in seconds.
peer.offset
This is a signed, fixed-point number indicating the offset of the peer clock relative to the local clock, in seconds.
peer.precision
This is a signed integer indicating the precision of the various clocks, in seconds to the nearest power of two.
peer.reach
This is a shift register used to determine the reachability status of the peer, with bits entering from the least significant
(rightmost) end. A peer is considered reachable if at least one bit in this register is set to one.
peer.srcadr
This is the IP address of the peer.
peer.stratum
This is an integer indicating the stratum of the local clock.
peer.valid
This is an integer counter indicating the valid samples remaining in the filter register. It is used to determine the reacha-
bility state and when the poll interval should be increased or decreased.
sys.peer
This is a selector identifying the current synchronization source.
sys.precision
This is a signed integer indicating the precision of the various clocks, in seconds to the nearest power of two.
sys.refid
This is a 32-bit code identifying the particular reference clock.
sys.rootdelay
This is a signed fixed-point number indicating the total roundtrip delay to the primary reference source at the root of the
synchronization subnet, in seconds.
sys.rootdispersion
This is a signed fixed-point number indicating the maximum error relative to the primary reference source at the root of the
synchronization subnet, in seconds.
sys.stratum
This is an integer indicating the stratum of the local clock
sys.system
A textual description of the system type.
NTP OPTIONS
The following options control how NTP requests are send and how the ntp command deals with lost NTP packets.
-timeout time
The -timeout option defines the time the ntp command will wait for a response. The time is defined in seconds with a default of 2
seconds.
-retries number
The -retries option defines how many times a request is retransmitted during the timeout interval. The default number of retries is
2.
SEE ALSO
scotty(1), Tnm(n), Tcl(n)
AUTHORS
Erik Schoenfelder <schoenfr@gaertner.de>
Juergen Schoenwaelder <schoenw@cs.utwente.nl>
Tnm ntp(n)