timedc(8)timedc(8)Nametimedc - timed control program
Syntax
/usr/etc/timedc [ command [ argument ...]]
Description
The program controls the operation of the daemon. If you run without
any arguments, enters interactive mode and displays the prompt.
If you supply a command on the command line, runs the command and then
exits. If you redirect the standard input of from an interactive ter‐
minal to a file, interprets the contents of the file as a list of com‐
mands separated by carriage returns and terminated with an EOF charac‐
ter.
Commands
?[command...]
help[command...] Prints a short description of each command speci‐
fied in the argument list. If no arguments are
given, a list of the recognized commands is
printed.
clockdiff[host...] Computes the differences between the clock of the
host machine and the clocks of the machines given
as arguments.
trace[ on | off ] Enables or disables the logging of incoming mes‐
sages to The command logs messages in the file
[ incr | decr ] [ -cd ][minutes:][seconds.][microseconds]
Increments or decrements the value of the local
clock so that the clock gains or loses the speci‐
fied amount of time.
-c Adjusts the local clock continuously.
Adjustments specified with the switch
should be on the order of microseconds,
and are added or subtracted from the
local clock in small stages. This type
of adjustment avoids large instantaneous
jumps and guarantees that the graph of
local clock time versus real time remains
continuous.
The following example increments the
local clock continuously by 500 microsec‐
onds: /etc/timedc incr -c 500
-d Adjusts the local clock instantaneously.
Adjustments specified with the switch
should be on the order of seconds, and
are added or subtracted from the local
clock at once. The graph of local clock
time versus real time is discontinuous.
The following example decrements the
local clock discontinuously by five min‐
utes and two seconds: /etc/timedc decr -d
5:2
msite Indicates which site the master is running on cur‐
rently.
quit Exits from the program.
Diagnostics
?Ambiguous command
Abbreviation matches more than one command.
?Invalid command
No match was found.
?Privileged command
Command can be executed by root only.
Files
Tracing file for
Log file for master
See Alsodate(1), adjtime(2), settimeofday(2), timed(8)timedc(8)