Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

timedc(8) [netbsd man page]

TIMEDC(8)						    BSD System Manager's Manual 						 TIMEDC(8)

NAME
timedc -- timed control program SYNOPSIS
timedc [command [argument ...]] DESCRIPTION
timedc is used to control the operation of the timed(8) program. It may be used to: o Measure the differences between machines' clocks, o Find the location where the master time server is running, o Enable or disable tracing of messages received by timed(8), and o Perform various debugging actions. Without any arguments, timedc will prompt for commands from the standard input. If arguments are supplied, timedc interprets the first argu- ment as a command and the remaining arguments as parameters to the command. The standard input may be redirected causing timedc to read com- mands 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. msite [host ...] Show the master time server for specified host(s). trace { on | off } Enable or disable the tracing of incoming messages to timed(8) in the file /var/log/timed.log. election 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(8); the help command and the program source may be consulted for details. FILES
/var/log/timed.log tracing file for timed /var/log/timed.masterlog log file for master timed DIAGNOSTICS
?Ambiguous command abbreviation matches more than one command ?Invalid command no match found SEE ALSO
date(1), adjtime(2), icmp(4), timed(8) R. Gusella and S. Zatti, TSP: The Time Synchronization Protocol for UNIX 4.3BSD. HISTORY
The timedc command appeared in 4.3BSD. BSD
February 2, 2007 BSD

Check Out this Related Man Page

timedc(8)						      System Manager's Manual							 timedc(8)

Name
       timedc - 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
       terminal to a file, 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 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 specified 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 microseconds: /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 minutes and two seconds: /etc/timedc
				     decr -d 5:2

       msite		   Indicates which site the master is running on currently.

       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 Also
       date(1), adjtime(2), settimeofday(2), timed(8)

																	 timedc(8)
Man Page