DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

tickadj(ADMN)


tickadj -- set time-related kernel variables

Syntax

tickadj [-Adkpqs] [-a tickadj] [-t tick]

Description

The tickadj program reads, and optionally modifies, several timekeeping-related variables in the running kernel, via /dev/kmem. The particular variables it is concerned with are:

tick
the number of microseconds added to the system time during a clock interrupt

tickadj
the slew rate and resolution used by the adjtime(S) system call

track_rtc
indicates to the kernels on some machines whether they should internally adjust the system clock to keep it in line with time-of-day clock or not

By default, with no arguments, tickadj reads the variables of interest in the kernel and displays them. At the same time, it determines an ``optimal'' value for tickadj if the intent is to run the ntpd(ADMN) Network Time Protocol (NTP) daemon, and prints this as well. Since the operation of tickadj when reading the kernel mimics the operation of similar parts of the ntpd program fairly closely, this can be useful when debugging problems with ntpd.


NOTE: tickadj should used with some caution when being used for the first time on different types of machines. The operations which tickadj tries to perform are not guaranteed to work on all Unix machines and may in rare cases cause the kernel to crash.

Options

tickadj takes the following options:

-a tickadj
Set the kernel variable tickadj to tickadj.

-A
Set the kernel variable tickadj to an internally computed ``optimal'' value.

-d
Enable additional debugging output.

-k
This option is the default on SCO OpenServer systems, and hence has no effect.

-p
This option has no effect on SCO OpenServer systems.

-t tick
Set the kernel variable tick to tick.

-s
Set the kernel variable track_rtc to zero, which disables the hardware time-of-year clock. Disabling the hardware real-time clock is normally required when using ntpd(ADMN).

-q
Normally, tickadj is verbose about what it is doing. The -q flag causes it to only report errors.

Files


/unix

/dev/kmem

See also

adjtime(S), ntpd(ADMN), ntpdc(ADMN)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003