Xref ntpd(8), not NTP. Whitespace fixes.
This commit is contained in:
parent
96078f3a14
commit
57feeb4802
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: timed.8,v 1.8 1999/03/22 18:44:12 garbled Exp $
|
||||
.\" $NetBSD: timed.8,v 1.9 2001/04/05 11:53:11 wiz Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1980, 1991 Regents of the University of California.
|
||||
.\" All rights reserved.
|
||||
@ -52,9 +52,9 @@ This
|
||||
is a time server daemon and is normally invoked
|
||||
at boot time from the
|
||||
.Xr rc 8
|
||||
file.
|
||||
file.
|
||||
It synchronizes the host's time with the time of other
|
||||
machines in a local area network running
|
||||
machines in a local area network running
|
||||
.Nm "" .
|
||||
These time servers will slow down the clocks of some machines
|
||||
and speed up the clocks of others to bring them to the average network time.
|
||||
@ -72,18 +72,18 @@ When
|
||||
is started on a machine, it asks the master for the network time
|
||||
and sets the host's clock to that time.
|
||||
After that, it accepts synchronization messages periodically sent by
|
||||
the master and calls
|
||||
the master and calls
|
||||
.Xr adjtime 2
|
||||
to perform the needed corrections on the host's clock.
|
||||
.Pp
|
||||
It also communicates with
|
||||
.Xr date 1
|
||||
in order to set the date globally,
|
||||
and with
|
||||
and with
|
||||
.Xr timedc 8 ,
|
||||
a timed control program.
|
||||
If the machine running the master crashes, then the slaves will elect
|
||||
a new master from among slaves running with the
|
||||
a new master from among slaves running with the
|
||||
.Fl M
|
||||
flag.
|
||||
A
|
||||
@ -93,7 +93,7 @@ running without the
|
||||
or
|
||||
.Fl F
|
||||
flags will remain a slave.
|
||||
The
|
||||
The
|
||||
.Fl t
|
||||
flag enables
|
||||
.Nm
|
||||
@ -117,7 +117,7 @@ If permitted by the
|
||||
flag, it will provide synchronization service on any attached networks
|
||||
on which no current master server was detected.
|
||||
Such a server propagates the time computed by the top-level master.
|
||||
The
|
||||
The
|
||||
.Fl n
|
||||
flag, followed by the name of a network which the host is connected to
|
||||
(see
|
||||
@ -128,7 +128,7 @@ Each time the
|
||||
.Fl n
|
||||
flag appears, that network name is added to a list of valid networks.
|
||||
All other networks are ignored.
|
||||
The
|
||||
The
|
||||
.Fl i
|
||||
flag, followed by the name of a network to which the host is connected
|
||||
(see
|
||||
@ -140,7 +140,7 @@ flag appears, that network name is added to a list of networks to ignore.
|
||||
All other networks are used by the time daemon.
|
||||
The
|
||||
.Fl n
|
||||
and
|
||||
and
|
||||
.Fl i
|
||||
flags are meaningless if used together.
|
||||
.Pp
|
||||
@ -155,14 +155,14 @@ If it finds masters on more than one network, it chooses one network
|
||||
on which to be a "slave," and then periodically checks the other
|
||||
networks to see if the masters there have disappeared.
|
||||
.Pp
|
||||
One way to synchronize a group of machines is to use an NTP daemon to
|
||||
One way to synchronize a group of machines is to use an NTP daemon to
|
||||
synchronize the clock of one machine to a distant standard or a radio
|
||||
receiver and
|
||||
receiver and
|
||||
.Fl F Ar hostname
|
||||
to tell its timed daemon to trust only itself.
|
||||
.Pp
|
||||
Messages printed by the kernel on the system console occur with
|
||||
interrupts disabled.
|
||||
interrupts disabled.
|
||||
This means that the clock stops while they are printing.
|
||||
A machine with many disk or network hardware problems and consequent
|
||||
messages cannot keep good time by itself. Each message typically causes
|
||||
@ -177,19 +177,19 @@ settings are often associated with
|
||||
machines that looked for time masters on more than one network and eventually
|
||||
chose to become a slave on the other network.
|
||||
.Sh WARNINGS
|
||||
If two or more time daemons, whether
|
||||
If two or more time daemons, whether
|
||||
.Nm "" ,
|
||||
.Xr NTP ,
|
||||
.Xr ntpd 8 ,
|
||||
try to adjust the same clock, temporal chaos will result.
|
||||
If both
|
||||
If both
|
||||
.Nm
|
||||
and another time daemon are run on the same machine,
|
||||
ensure that the
|
||||
ensure that the
|
||||
.Fl F
|
||||
flag is used, so that
|
||||
flag is used, so that
|
||||
.Nm
|
||||
never attempts to adjust the local clock.
|
||||
.Pp
|
||||
.Pp
|
||||
The protocol is based on UDP/IP broadcasts. All machines within
|
||||
the range of a broadcast that are using the TSP protocol must cooperate.
|
||||
There cannot be more than a single administrative domain using the
|
||||
@ -203,7 +203,7 @@ machines in the system log.
|
||||
.It Pa /var/log/timed.log
|
||||
tracing file for timed
|
||||
.It Pa /var/log/timed.masterlog
|
||||
log file for master timed
|
||||
log file for master timed
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr date 1 ,
|
||||
|
Loading…
Reference in New Issue
Block a user