6253 F_GETLK doesn't always return lock owner
[illumos-gate.git] / usr / src / man / man1m / in.timed.1m
blobf80a8c839f90a3482c665e3aefb712ff40697df4
1 '\" te
2 .\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH IN.TIMED 1M "Aug 23, 2004"
7 .SH NAME
8 in.timed \- UDP or TCP time protocol service daemon
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fBin.timed\fR
13 .fi
15 .LP
16 .nf
17 FMRI \fIsvc\fR:/internet/time:default
18 .fi
20 .SH DESCRIPTION
21 .sp
22 .LP
23 FMRI stands for Fault Management Resource Identifier. It is used to identify
24 resources managed by the Fault Manager. See \fBfmd\fR(1M) and \fBsmf\fR(5).
25 .sp
26 .LP
27 The \fBin.timed\fR service provides the server-side of the time protocol. The
28 time server sends to requestors the time in seconds since midnight, January 1,
29 1900. The time protocol is available on both TCP and UDP transports through
30 port 37.
31 .sp
32 .LP
33 The in.timed service is an \fBinetd\fR(1M) \fBsmf\fR(5) delegated service. The
34 \fBin.timed\fR detects which transport is requested by examining the socket it
35 is passed by the \fBinetd\fR daemon.
36 .sp
37 .ne 2
38 .na
39 \fBTCP-based service\fR
40 .ad
41 .RS 21n
42 Once a connection is established, the \fBin.timed\fR sends the time as a 32-bit
43 binary number and closes the connection. Any received data is ignored.
44 .RE
46 .sp
47 .ne 2
48 .na
49 \fBUDP-based service\fR
50 .ad
51 .RS 21n
52 The \fBin.timed\fR listens for UDP datagrams. When a datagram is received, the
53 server generates a UDP datagram containing the time as a 32-bit binary number
54 and sends it to the client. Any received data is ignored.
55 .RE
57 .SH ATTRIBUTES
58 .sp
59 .LP
60 See \fBattributes\fR(5) for descriptions of the following attributes:
61 .sp
63 .sp
64 .TS
65 box;
66 c | c
67 l | l .
68 ATTRIBUTE TYPE  ATTRIBUTE VALUE
70 Interface Stability     Evolving
71 .TE
73 .SH SEE ALSO
74 .sp
75 .LP
76 \fBinetd\fR(1M), \fBattributes\fR(5), \fBsmf\fR(5)
77 .sp
78 .LP
79 RFC 868