home *** CD-ROM | disk | FTP | other *** search
- @.TH timesrv 1 local
- @.SH NAME
- timesrv \- set local system time to time server host system time
- @.SH SYNOPSIS
- @.B timesrv <hostname>
- @.SH DESCRIPTION
- @.I Timesrv
- provides a TCP service on an Internet time server host using BSD
- Internet Stream Sockets. It obtains the current system time
- of the server's system clock time as a long int in units of
- seconds since the Epoch (end of 1969), and sends it out on stream
- socket 22375 (an arbitrary number, which must be matched on the
- client host). Normally the time
- server is a system that sychronizes to Master Clock time.
- @.PP
- @.I timesrv
- is designed to be spawned by
- @.I inetd
- @.PP
- @.I timesrv
- requires the following entry in
- @.I /etc/services:
- @.PP
- timesrv 22375/tcp
- @.PP
- and the following entry in
- @.I /etc/inetd.conf:
- @.PP
- timesrv stream tcp nowait root /usr/local/bin/timesrv timesrv
- @.PP
- After adding these lines, inetd must be restarted with the command:
- @.I /etc/inetd -c
- @.RE
- @.fi
-
- @.SH AUTHOR
- @.PP
- @.I timesrv
- written by Rich Schmidt, US Naval Observatory, 1992.
-
- @.SH "SEE ALSO"
- time_set(1), timecheck(1), time(2), stime(2).
-