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

📄 ntpclient.1

📁 实现linux系统和网络时钟服务器的时间同步,从而可以得到准确的时间.
💻 1
字号:
.\" man page for Larry Doolittle's ntpclient.\" distributed under GPL.\" originally written by Walter Harms.TH ntpclient 3 "2005-28-07-05" "" "ntpclient".SH NAMEntpclient \- client to get time from NTP server.SH SYNOPSIS.B ntpclient -h hostname [-c count] [-d] [-f frequency] [-g goodness].in 14.B             [-i interval] [-l] [-p port] [-r] [-s].SH DESCRIPTION.B ntpclientis an NTP (RFC-1305) client for unix-alike computers.Its functionality is a small subset of xntpd, but has the potentialto function better withinthat limited scope.  Since it is much smaller than xntpd, it isalso more relevant for embedded computers..PPWithout any argument (except -h) the program produces outputsimilar to this:.sp.nf day   second     elapsed    stall     skew  dispersion  freq36765 00180.386    1398.0     40.3  953773.9    793.5  -124000036765 00780.382    1358.0     41.3  954329.0    915.5  -124000036765 01380.381    1439.0     56.0  954871.3    915.5  -1240000.fi.spThe columns have the following meaning:.nfday, second: time of measurement, UTC, relative to NTP epoch (Jan 1, 1900)elapsed:     total time from query to response (microseconds)stall:       time the server reports that it sat on the request (microseconds)skew:        difference between local time and server time (microseconds)dispersion:  reported by server, see RFC-1305 (microseconds)freq:        local clock frequency adjustment (Linux only, ppm*65536).fi.SS "Options".TP.BI  -h " hostname"(mandatory) NTP server, against which to measure system time.TP.BI -c " count"top after count time measurements (default 0 means go forever).TP.B  -d.brprint diagnostics (feature can be disabled at compile time).TP.BI  -g " goodness"causes ntpclient to stop after getting a result more accuratethan goodness (microseconds, default 0 means go forever).TP.BI  -i " interval"check time every interval seconds (default 600).TP.BI -p " port"local NTP client UDP port (default 0 means "any available").TP.BI  -q " min_delay"minimum packet delay for transaction (default 800 microseconds).TP.B  -r.brreplay analysis code based on stdin (feature can be disabled at compile time).TP.BI -f " frequency".brinitialize the frequency offset (Linux only, requires root access).TP.B -s.brsimple clock set (implies -c 1)(requires root access).TP.B  -l.brattempt to lock local clock to server using.BR adjtimex (2)(requires root access).TP.B -t.brtrust network and server, no RFC-4330 recommended cross-checks.SH AUTHOR Larry Doolittle ntpclient home page: http://doolittle.icarus.com/ntpclient/.SH COPYRIGHTntpclient is Copyright 1997, 1999, 2000, 2003, 2006, 2007 Larry Doolittle, andmay be freely copied and modified according to the terms of the GNUGeneral Public License, version 2.  If you want to distribute ntpclientunder other terms, contact me.  I might agree to some other arrangement,if you talk to me.I beforeyou start violating GPL terms..SH "SEE ALSO".BR adjtimex (2),.BR www.ntp.org

⌨️ 快捷键说明

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