|
|
1.1 root 1: .\" Copyright (c) 1980 Regents of the University of California.
2: .\" All rights reserved.
3: .\"
4: .\" Redistribution and use in source and binary forms are permitted
5: .\" provided that the above copyright notice and this paragraph are
6: .\" duplicated in all such forms and that any documentation,
7: .\" advertising materials, and other materials related to such
8: .\" distribution and use acknowledge that the software was developed
9: .\" by the University of California, Berkeley. The name of the
10: .\" University may not be used to endorse or promote products derived
11: .\" from this software without specific prior written permission.
12: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
13: .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
14: .\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
15: .\"
16: .\" @(#)timed.8 6.3 (Berkeley) 7/9/88
17: .\"
18: .TH TIMED 8 "July 9, 1988"
19: .UC 6
20: .ad
21: .SH NAME
22: timed \- time server daemon
23: .SH SYNOPSIS
24: .B /etc/timed
25: [ -t ] [ -M ] [ -n network ] [ -i network ]
26: .SH DESCRIPTION
27: .I Timed
28: is the time server daemon and is normally invoked
29: at boot time from the
30: .IR rc (8)
31: file.
32: It synchronizes the host's time with the time of other
33: machines in a local area network running
34: .IR timed (8).
35: These time servers will slow down the clocks of some machines
36: and speed up the clocks of others to bring them to the average network time.
37: The average network time is computed from measurements of clock differences
38: using the ICMP timestamp request message.
39: .PP
40: The service provided by \fItimed\fP is based on a master-slave
41: scheme.
42: When
43: .IR timed (8)
44: is started on a machine, it asks the master for the network time
45: and sets the host's clock to that time.
46: After that, it accepts synchronization messages periodically sent by
47: the master and calls
48: .IR adjtime (2)
49: to perform the needed corrections on the host's clock.
50: .PP
51: It also communicates with
52: .IR date (1)
53: in order to set the date globally,
54: and with
55: .IR timedc (8),
56: a timed control program.
57: If the machine running the master crashes, then the slaves will elect
58: a new master from among slaves running with the
59: .B \-M
60: flag.
61: A
62: .IR timed
63: running without the
64: .B \-M
65: flag will remain a slave.
66: The
67: .B \-t
68: flag enables \fItimed\fP to trace the messages it receives in the
69: file /usr/adm/timed.log.
70: Tracing can be turned on or off by the program
71: .IR timedc (8).
72: .I Timed
73: normally checks for a master time server on each network to which
74: it is connected, except as modified by the options described below.
75: It will request synchronization service from the first master server
76: located.
77: If permitted by the
78: .B \-M
79: flag, it will provide synchronization service on any attached networks
80: on which no current master server was detected.
81: Such a server propagates the time computed by the top-level master.
82: The
83: .B \-n
84: flag, followed by the name of a network which the host is connected to
85: (see
86: .IR networks (5)),
87: overrides the default choice of the
88: network addresses made by the program.
89: Each time the
90: .B \-n
91: flag appears, that network name is added to a list of valid networks.
92: All other networks are ignored.
93: The
94: .B \-i
95: flag, followed by the name of a network to which the host is connected
96: (see
97: .IR networks (5)),
98: overrides the default choice of the network addresses made by the program.
99: Each time the
100: .B \-i
101: flag appears, that network name is added to a list of networks to ignore.
102: All other networks are used by the time daemon.
103: The
104: .B \-n
105: and
106: .B \-i
107: flags are meaningless if used together.
108: .SH FILES
109: .nf
110: .ta \w'/usr/adm/timed.masterlog 'u
111: /usr/adm/timed.log tracing file for timed
112: /usr/adm/timed.masterlog log file for master timed
113: .fi
114: .SH "SEE ALSO"
115: date(1), adjtime(2), gettimeofday(2), icmp(4P), timedc(8),
116: .br
117: \fITSP: The Time Synchronization Protocol for UNIX 4.3BSD\fP,
118: R. Gusella and S. Zatti
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.