Timedc
is used to control the operation of the
timed 8
program.
It may be used to:
-bullet
Measure the differences between machines' clocks,
Find the location where the master time server is running,
Enable or disable tracing of messages received by
timed ,
and
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:
-tag -width Ds -compact
? Op Ar command ...
help Op Ar 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 Ar host ...
Compute the differences between the clock of the host machine
and the clocks of the machines given as arguments.
msite Op Ar host ...
Show the master time server for specified host(s).
Xo
trace
{ Ar on Li |
off }
Enable or disable the tracing of incoming messages to
timed
in the file
/var/log/timed.log.
election Ar host
Asks the daemon
on the target host to reset its
election
timers and to ensure that a time master has been elected.
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.