📄 timed.8
字号:
.TH timed 8.SH Nametimed \- time server daemon.SH Syntax.B /usr/etc/timed[ .B \-i | \-n.I network ][ .B \-E][.B \-M ][.B \-t].SH DescriptionThe .PN timed.NXR "timed" "daemon"daemon synchronizes a host's time with the time of othermachines in a local area network running.PN timed .It is normally invokedat boot time from the.PN /etc/rc.localfile. .PPServers running.PN timedslow down the clocks of some machinesand speed up the clocks of others to bring them allto the average network time.The average network time is computed from measurements of clock differenceswith the Internet Communication Message Protocol (ICMP)timestamp request message..PPThe service provided by .PN timedis based on a master-slave scheme.When.PN timedis started on a machine, it asks the master for the network timeand sets the host's clock to that time.After that, it accepts synchronization messages periodically sent bythe master and calls the .PN adjtime or.PN settimeofdayroutine to perform any corrections on the host's clock..PPIt also communicates with the.PN datecommand to set the date globally,and with the .PN timed control program,.PN timedc .If the machine running the master crashes, then the slaves electa new master from among slaves running with the .PN \-Mflag set. The.PN \-Mflag provides time synchronization on any attached networkswhere no current master server is detected.Such a server propagates the time computed by the top-level master.At least one .PN timeddaemon on each network must run with the.PN \-Moption set toallow it to become a .PN timed master..SH Options.IP \-E Overrides the input of slaves. Use the.PN \-Eflag in conjunction with the .PN \-Mflag. It specifies that a master.PN timedshould not average the times of the slaves to calculate the network time butshould distribute the time of its local host as the network time. This flagallows a master .PN timed to distribute time to a network while the network time is controlled by anoutside agent such as the Network Time Protocol..IP "[\-i | \-n] \fInetwork\fP".RS.IP \-i Specifies a network to ignore. Each network that appears as anargument to the .PN \-iflag is added to the list of networks that.PN timedwill ignore. If the .PN \-iflag is used,.PN timedaccesses all networks to which the host is connected except for those networks specified as arguments to the.PN \-iflag. .IP \-n Specifies a network to use. When the.PN timedis started, it gathersinformation about all the network devices connected to the localhost. If neither the .PN \-nflag nor the .PN \-iflag is used,.PN timedtries to access all the network devices connected to the local host.The network argument to the.PN \-nflag is the name of a network that.PN timedshould access. .IPIf the.PN \-nswitch is used, only those networks specified by the .PN \-nflag are accessed. .IPDo not use the.PN \-iand.PN \-nflags together..RE.IP \-M Allows a slave time server to become a master time server if themaster server crashes. A system running the.PN timeddaemon without the .PN \-Mflag set remains a slave.The .PN timeddaemon checks for a master time server on each network to whichit is connected. It requests synchronization service from the firstmaster server it locates..IP \-t Enables .PN timedto trace the messages it receives in thefile .PN /usr/adm/timed.log .Tracing can be enabled or disabled with the .PN timedc program..SH RestrictionsAny system running.PN timedwith the.PN \-Eand.PN \-Moptions set is eligible to become the .PN timedmaster, and distribute its local time to all systemsrunning .PN timedon its network. Run the Network Time Protocol daemon,.PN ntpd ,instead of .PN timedto prevent this behavior..SH Files./".ta \w'/usr/adm/timed.masterlog 'u.TP 35.PN /etc/rc.localInvokes the .PN timeddaemon each time the system boots.TP 35.PN /usr/adm/timed.log Tracing file for .PN timed.TP 35.PN /usr/adm/timed.masterlog Log file for master .PN timed .SH See Alsodate(1), adjtime(2), gettimeofday(2), networks(5), ntpd(8), timedc(8).br.I "Introduction to Networking and Distributed System Services"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -