DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

timed(1Mtcp)


timed -- time server daemon

Synopsis

in.timed [ -t ] [ -M ] [ -n network ] [ -i network ]

Description

The time server daemon, timed, can be invoked during TCP/IP startup by including an appropriate line in the config(4tcp) file.

timed synchronizes the host's time with the time of other machines in a local area network running timed. 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. The average network time is computed from measurements of clock differences using the ICMP timestamp request message.

The service provided by timed is based on a master-slave scheme. When timed 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 adjtime(2) to perform the needed corrections on the host's clock.

It also communicates with netdate(1Mtcp) to set the date globally, and with timedc(1Mtcp), 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 -M flag. A timed running without the -M flag will remain a slave.

The -t flag enables timed to trace the messages it receives in the file /var/adm/timed.log. Tracing can be turned on or off by the program timedc(1Mtcp).

Normally, timed checks for a master time server on each network to which it is connected, except as modified by the options described below. It will request synchronization service from the first master server located. If permitted by the -M 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 -n flag, followed by the name of a network which the host is connected to (see networks(4tcp)), overrides the default choice of the network addresses made by the program. Each time the -n flag appears, that network name is added to a list of valid networks. All other networks are ignored.

The -i flag, followed by the name of a network to which the host is connected (see networks(4tcp)), overrides the default choice of the network addresses made by the program. Each time the -i flag appears, that network name is added to a list of networks to ignore. All other networks are used by the time daemon.

NOTE: The -n and -i flags will be meaningless if used together.

Messages in the system log about machines that failed to respond usually indicate machines that crashed or were turned off. Complaints about machines that failed to respond to initial time settings are often associated with ``multi-homed'' machines that looked for time masters on more than one network and eventually chose to become a slave on the other network.

Files


/var/adm/timed.log
tracing file for timed

/var/adm/timed.masterlog
log file for master timed

References

adjtime(2), config(4tcp), date(1), gettimeofday(2), icmp(7tcp), timedc(1Mtcp), xntpd(1Mtcp)

Notices

If two or more time daemons such as timed and xntpd try to adjust the same clock, temporal chaos may result.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004