Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

date(1)

adjtime(2)

settimeofday(2)

timed(8)

timedc(8)

Name

timedc − timed control program

Syntax

/usr/etc/timedc [ command [ argument ...]]

Description

The timedc program controls the operation of the timed daemon.  If you run timedc without any arguments, timedc enters interactive mode and displays the timedc> prompt.

If you supply a timedc command on the command line, timedc runs the command and then exits.  If you redirect the standard input of timedc from an interactive terminal to a file, timedc interprets the contents of the file as a list of commands separated by carriage returns and terminated with an EOF character.

Commands

?[command...]

help[command...] Prints a short description of each command specified 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 messages to timed. The trace command logs messages in the file /usr/adm/timed.log.

[ incr | decr ] [ −cd ][minutes:][seconds.][microseconds]
Increments or decrements the value of the local clock so that the clock gains or loses the specified amount of time.

−c Adjusts the local clock continuously.  Adjustments specified with the −c 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 microseconds:

/etc/timedc incr −c 500

−d Adjusts the local clock instantaneously.  Adjustments specified with the −d 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 minutes and two seconds:

/etc/timedc decr −d 5:2

msite Indicates which site the master is running on currently. 

quit Exits from the timedc 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

/usr/adm/timed.log Tracing file for timed

/usr/adm/timed.masterlog Log file for master timed

See Also

date(1), adjtime(2), settimeofday(2), timed(8)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026