⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ntpdc.8

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 8
字号:
.TH ntpdc 8.SH Namentpdc \- monitor operation of the NTP daemon, ntpd.SH Syntax.B /usr/etc/ntpdc [.B \-n][.B \-v]\fIhost1 \fR|\fP IPaddress1 ... \fP.SH DescriptionThe.PN ntpdc.NXR "ntpdc command" command sends a query to the.PN ntpddaemon running on each of the hosts listed on the command line.The .PN ntpddaemon on each responding host sends information about thecurrent calculated offset between its time and the time of each ofits NTP servers or peers.  The.PN ntpdccommand formats the information on the standard output..PP.NTYou can specify hosts by either host name or Internetaddress.  The hosts that you specify must either existin the.PN /etc/hostsfile, or in the master.PN hostsdatabase, if the database is being served to yoursystem by BIND/Hesiod or Yellow Pages..NEThe .PN ntpdccommand by default generates a terse, table-style report.If you specify the .PN \-voption, the .PN ntpdccommand generates a verbose report..SH Options.IP \-nPrints Internet addresses, instead of host names, of theservers or peers.By default, the Internet addresses of the responding hosts and thenames of their servers or peers areprinted.  .IP \-vPrints a verbose report for each of the servers or peersof the responding host..SH Examples.SSTerse Report:.PPThe following is a typical terse report generated in response to thecommand:.EX% \f(CB/usr/etc/ntpdc 555.5.55.55.EEThe host 555.5.55.55 is an NTP client, with the servers.PN server1 ,.PN server2 ,and.PN server3specified in its.PN /etc/ntp.conffile.  The information returned is about .PN server1 ,.PN server2 ,and.PN server3 ..if t .ig.ta .5i 1i 2.3i 3.0i 3.5i 4.1i 4.8i 5.6i	\fBAddress	Strat	Poll	Reach	Delay	Offset	Disp\fP.br(rem)	(lcl).br\&.\fIserver1\fP	555.5.55.55	1	64	377	53.0	-65.0	5.0.br*\fIserver2\fP	555.5.55.55	1	256	377	155.0	-4.0	16.0.br+\fIserver3\fP	555.5.55.55	2	64	377	16.0	-61.0	3.0...if n .ig.ta .3i .7i 1.7i 2.2i 2.7i 3.2i 3.9i 4.6i	\fBAddress	Strat	Poll	Reach	Delay	Offset	Disp\fP.br\fB(rem)	(lcl)\fP.br\&.\fIserver1\fP	555.5.55.55	1	64	377	53.0	-65.0	5.0.br*\fIserver2\fP	555.5.55.55	1	256	377	155.0	-4.0	16.0.br+\fIserver3\fP	555.5.55.55	2	64	377	16.0	-61.0	3.0...PPThe fields are interpreted as follows:.IP "\- , + , . \fRor\fP *"A minus sign (\-), plus sign (+), or dot (.) indicates a pre-configured peer (see the.MS ntp.conf 5reference page).  The asterisk (*) indicates which pre-configured peer (ifany) is currently being used for synchronization..IP (rem)The remote host name or Internet address of a peer or server of the responding host..IP (lcl)The Internet address of the responding host that was specified on the .PN ntpdc command line..IP StratThe current operating stratum level of the peer or server.  Since the NTP hierarchy can change dynamically the stratumlevels may change.  Lower stratum levels correspond to higher accuracy..IP PollCurrent polling interval in seconds for this peer or server.Polling intervals change dynamically..IP ReachReachability in response to the last 8 polls (value of8-bit shift register with bits entering from the end furthest to the right)..IP DelayThe estimated round-trip delay in milliseconds for NTP message exchanges between the responding host and this peeror server.  Delay is calculated from the previous 8 polls..IP OffsetThe estimated offset between the peer or server's time and the respondinghost's time in milliseconds.  This value is calculated from theprevious 8 polls..IP DispThe current estimated value of dispersion in milliseconds for this peer'soffset/delay pair..IPDispersion is used by the.PN ntpddaemon in the clock selection algorithm.  Increasing values of dispersion areassociated with decreasing quality of the estimate..SSVerbose Report:.PPWhen the .PN \-v option is given, a verbose report for each of the servers or peersof each of the hostsspecified on the command line is generated..PPThe following is a typical verbose report generated in response to thefollowing command line:.EX% \f(CB/usr/etc/ntpdc \-v 111.11.111.11\fPNeighbor address 555.55.5.55 port:123  local address 111.11.1.11Reach: 0377 stratum: 2, precision: \-7dispersion: 2.000000, flags: 1301, leap: 0Reference clock ID: [22.22.2.22] timestamp: 7e5aa1a9.2add5d0bhpoll: 10, ppoll: 10, timer: 1024, sent: 85 received: 90Delay(ms)   20.00  20.00  28.00  29.00  20.00  39.00  29.00  28.00Offset(ms)   5.00   6.00   5.00  \-1.00  \-2.00   0.00   3.00   5.00        delay: 20.000000 offset: 5.000000 dsp 2.000000--------------------------------------------------------------------.EE.PPThe fields are interpreted as follows:.IP "Neighbor address"The address and port number of one NTP server, followed bythe Internet address of the responding host (\f(CWlocal address\fP)..IP Reach: Reachability in response to the last 8 polls (value of8-bit shift register with bits entering from the end furthest to the right)..IP stratum: \fIn\fPThe current operating stratum level of the peer or server.  Since the NTP hierarchy can change dynamically the stratumlevels may change.  Lower stratum levels correspond to higher accuracy..IP precision: \fInn\fPThe precision of this clock, given in seconds as a power of2.  If precision is equal to\-7, that means that the precision is 2**\-7, or 1/128 seconds.The.PN ntpddaemon automatically determines the precision of each clock based on thekernel variable .PN HZ ..IP disp: \fInn\fPThe current estimated value of dispersion in milliseconds for this peer'soffset/delay pair.Dispersion is used by the.PN ntpddaemon in the clock selection algorithm.  Increasing values of dispersion areassociated with decreasing quality of the estimate..IP "flags: \fInn\fP"The .PN flagsparameter is used by the.PN ntpddaemon clock selection process..IP "leap: \fIflag\fP"The leap second indicator.  Non-zero if there is to be aleap second inserted in the NTP timescale.  The bits areset before 23:59 on the day of insertion and reset after00:00 on the following day..IP "Reference clock ID: \fIaddress\fP"If the NTP server is synchronized by a radio/satellitetimecode receiver, this field is.PN WWV ,.PN WWVB ,or .PN GOES .If the NTP server is the local reference clock, this field is.PN LOCL .Finally, this field can be the.PN [internet_address]of the most accurate NTP server currently serving the respondinghost..IP "timestamp: \fInn\fP"The local time, in hex-timestamp format, when the local clockof the server was last updated..IP "hpoll: \fIn\fP"The host poll interval which is the maximum interval between messagestransmitted to the server, in seconds as a power of 2.  Forexample, a value of 6 indicates an interval of 64 seconds..IP "ppoll: \fIn\fP"The peer poll interval which is the maximum interval between messagessent by the server, in seconds as a power of 2.  Forexample, a value of 6 indicates an interval of 64 seconds..IP "timer: \fInn\fP"The current poll rate in seconds..IP "sent: \fInn\fP"The number of NTP packets sent to this server by the responding host..IP "received: \fInn\fP"The number of NTP packets received from this server by the respondinghost..IP "Delay and Offset"The round-trip delay and estimated clock offset for the last eight NTPpacket exchanges.  If there are fewer than eight valid samples,the delay field will be zero..IP "delay: \fIest-delay\fP offset: \fIest-offset\fP dsp: \fIn\fP"Estimated delay, offset, and dispersion calculated from theabove 8 samples.  See RFC 1129 for how to calculate the estimated delay, offset, and dispersion..SH Diagnostics.B "host1: connection refused".brCheck whether the .PN ntpddaemon is running on .PN host1 ..PP.B "host2: unknown".brThe .PN ntpdccommand cannot resolve the host name.PN host2 .Check that .PN host2 exists in the .PN /etc/hosts file, or that it exists in the master.PN hostsdatabase, if the database is being served by BIND/Hesiod or Yellow Pages..PPIf a server is listed in the host's.PN /etc/ntp.conffile, but does not appear in the .PN ntpdcreport, it is possible that the .PN ntpddaemon on the responding host can not resolve the servernames in the.PN /etc/ntp.conffile.  Check that the server exists in the responding host's.PN /etc/hostsfile or in the master.PN hostsdatabase, if the database is being served to the responding host by BIND/Hesiod or Yellow Pages..SH See Alsontp.conf(5), ntp(8), ntpd(8).br\fIRFC 1129\(emInternet Time Synchronization:  the Network Time Protocol\fP.br.I "Introduction to Networking and Distributed System Services"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -