05-14-2013
NTP servers come in many forms, but usually the configuration can be read. If configured with IP, do an nslookup to see if it reverses. I cannot say whether name or IP is more reliable, but usually a name is used, so there can be multiple IP supporting the name. If you do not have infrastructure guys to tell you what the internal NTP is, you may need to use an Internet one. My ntp is xntpd, and the default config is /etc/ntp.conf, but I cannot open it. However, 'ntpq -dp -ccooked' shows me three time servers! My windows internet time has an amazing huge list of servers, protocols.
A system that gets time, but does not serve time to the network, is a client. It just needs a server or two to call periodically to keep the clock in sync.
10 More Discussions You Might Find Interesting
1. 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
2. Solaris
Hi,
Can someone let me know the detail procedure for configuring NTP in Solaris/Windows/Linux environment....???
I would like to use any NTP Server on Windows Server & rest of the systems running with Solaris 10/9 & Linux be as NTP Client. All NTP Client should take the time from NTP Server... (8 Replies)
Discussion started by: jumadhiya
8 Replies
3. Gentoo
could you please tell me how to connect a linux or Unix server to Network Time Server???
Thanx (1 Reply)
Discussion started by: alkingg
1 Replies
4. UNIX for Advanced & Expert Users
Hello
i want to connect my solaris & Linux boxes to ntp server
i used the command
/usr/sbin/ntpdate -s -b -p 8 -u <NTP-IP>
and added the NTP server as server in /etc/ntp.conf
please help in completing the process and verifying it (1 Reply)
Discussion started by: learn82
1 Replies
5. UNIX for Dummies Questions & Answers
configuring NTP in Solaris/Windows/Linux environment. Can anybody please explain the below table to monitor NTP daemon status
This contains many columns like remote,refid,st....various values corresponding to those columns
If possible provide me any link to study about... (1 Reply)
Discussion started by: sgand
1 Replies
6. UNIX for Advanced & Expert Users
Can anybody please explain the below table to monitor NTP daemon status
This contains many columns like remote,refid,st....various values corresponding to those columns
If possible provide me any link to study about these quantities clearly.
It is very much required for my project please... (3 Replies)
Discussion started by: sgand
3 Replies
7. 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
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. Linux
i want to configure machine1 as ntp server. this machine has oel 5.9 64 bit installed and this machine is not connected to internet neither there is any ntp server.
there is another machine2 and i want to configure that as ntp client.
plz do tell me that what lines do i add in /etc/ntp.conf... (0 Replies)
Discussion started by: rehantayyab82
0 Replies
10. 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
NTPQ(1) General Commands Manual NTPQ(1)
NAME
ntpq - standard NTP query program
SYNOPSIS
ntpq [-inp] [-c command] [host] [...]
DESCRIPTION
The ntpq utility program is used to monitor NTP daemon ntpd operations and determine performance. It uses the standard NTP mode 6 control
message formats defined in Appendix B of the NTPv3 specification RFC1305. The same formats are used in NTPv4, although some of the vari-
ables have changed and new ones added. The description on this page is for the NTPv4 variables.
The program can be run either in interactive mode or controlled using command line arguments. Requests to read and write arbitrary vari-
ables can be assembled, with raw and pretty-printed output options being available. The ntpq can also obtain and print a list of peers in a
common format by sending multiple queries to the server.
If one or more request options is included on the command line when ntpq is executed, each of the requests will be sent to the NTP servers
running on each of the hosts given as command line arguments, or on localhost by default. If no request options are given, ntpq will
attempt to read commands from the standard input and execute these on the NTP server running on the first host given on the command line,
again defaulting to localhost when no other host is specified. ntpq will prompt for commands if the standard input is a terminal device.
ntpq uses NTP mode 6 packets to communicate with the NTP server, and hence can be used to query any compatible server on the network which
permits it. Note that since NTP is a UDP protocol this communication will be somewhat unreliable, especially over large distances in terms
of network topology. ntpq makes one attempt to retransmit requests, and will time requests out if the remote host is not heard from within
a suitable timeout time.
Note that in contexts where a host name is expected, a -4 qualifier preceding the host name forces DNS resolution to the IPv4 namespace,
while a -6 qualifier forces DNS resolution to the IPv6 namespace.
OPTIONS
Command line options are described following. Specifying a command line option other than -i or -n will cause the specified query (queries)
to be sent to the indicated host(s) immediately. Otherwise, ntpq will attempt to read interactive format commands from the standard input.
-4 Force DNS resolution of following host names on the command line to the IPv4 namespace.
-6 Force DNS resolution of following host names on the command line to the IPv6 namespace.
-c The following argument is interpreted as an interactive format command and is added to the list of commands to be executed on the
specified host(s). Multiple -c options may be given.
-i Force ntpq to operate in interactive mode. Prompts will be written to the standard output and commands read from the standard input.
-n Output all host addresses in dotted-quad numeric format rather than converting to the canonical host names.
-p Print a list of the peers known to the server as well as a summary of their state. This is equivalent to the peers interactive com-
mand.
SEE ALSO
/usr/share/doc/ntp-doc/html/ntpq.html for the full documentation.
Network Time Protocol November 9, 2007 NTPQ(1)