source: trunk/athena/etc/gettime/gettime.8 @ 10906

Revision 10906, 1.7 KB checked in by cfields, 27 years ago (diff)
Manual page for gettime.
1.\" $Id: gettime.8,v 1.1 1997-12-15 00:35:49 cfields Exp $
3.\" Copyright 1997 by the Massachusetts Institute of Technology.
5.\" Permission to use, copy, modify, and distribute this
6.\" software and its documentation for any purpose and without
7.\" fee is hereby granted, provided that the above copyright
8.\" notice appear in all copies and that both that copyright
9.\" notice and this permission notice appear in supporting
10.\" documentation, and that the name of M.I.T. not be used in
11.\" advertising or publicity pertaining to distribution of the
12.\" software without specific, written prior permission.
13.\" M.I.T. makes no representations about the suitability of
14.\" this software for any purpose.  It is provided "as is"
15.\" without express or implied warranty.
17.TH GETTIME 8 "13 Dec 1997"
19gettime \- synchronize system clock with remote host
21.B gettime
23.B \-g granularity
24] [
25.B \-s
27.B hostname
30.I gettime
31is a simple program used to retrieve the time from a remote host
32(specified by the required
33.B hostname
34argument) using the UDP Time Protocol defined in RFC868. It displays
35the time acquired on the standard output. If the
36.B \-s
37option is specified and
38.I gettime
39is being run as root, the clock of the local workstation will also be
40set. If the
41.B \-g
42option is specified as well, the time will only be set if the
43workstation clock is more than
44.B granularity
45seconds out of synchronization with the remote host.
46.I gettime
47attempts to retrieve the time five times, with a five second timeout
48on each attempt.
51Craig Fields, MIT Information Systems
53Copyright (c) 1997 Massachusetts Institute of Technology
Note: See TracBrowser for help on using the repository browser.