xref: /original-bsd/usr.sbin/timed/timedc/timedc.8 (revision 83e03edb)
Copyright (c) 1980 Regents of the University of California.
All rights reserved.

Redistribution and use in source and binary forms are permitted
provided that the above copyright notice and this paragraph are
duplicated in all such forms and that any documentation,
advertising materials, and other materials related to such
distribution and use acknowledge that the software was developed
by the University of California, Berkeley. The name of the
University may not be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

@(#)timedc.8 6.3 (Berkeley) 07/09/88

TIMEDC 8 ""
C 6
NAME
timedc - timed control program
SYNOPSIS
/etc/timedc [ command [ argument ... ] ]
DESCRIPTION
Timedc is used to control the operation of the timed program. It may be used to:
\(bu
measure the differences between machines' clocks,
\(bu
find the location where the master time server is running,
\(bu
enable or disable tracing of messages received by timed, and
\(bu
perform various debugging actions.

Without any arguments, timedc will prompt for commands from the standard input. If arguments are supplied, timedc interprets the first argument as a command and the remaining arguments as parameters to the command. The standard input may be redirected causing timedc to read commands from a file. Commands may be abbreviated; recognized commands are:

? [ command ... ]

help [ command ... ]

Print a short description of each command specified in the argument list, or, if no arguments are given, a list of the recognized commands.

clockdiff host ...

Compute the differences between the clock of the host machine and the clocks of the machines given as arguments.

trace { on | off }

Enable or disable the tracing of incoming messages to timed in the file /usr/adm/timed.log.

quit

Exit from timedc.

Other commands may be included for use in testing and debugging timed ; the help command and the program source may be consulted for details.

FILES
/usr/adm/timed.log tracing file for timed
/usr/adm/timed.masterlog log file for master timed
"SEE ALSO"
date(1), adjtime(2), icmp(4P), timed(8),

TSP: The Time Synchronization Protocol for UNIX 4.3BSD, R. Gusella and S. Zatti

DIAGNOSTICS
?Ambiguous command abbreviation matches more than one command
?Invalid command no match found
?Privileged command command can be executed by root only