tickadj



tickadj

NAME
SYNOPSIS
DESCRIPTION
COMMAND LINE OPTIONS
FILES
BUGS
SEE ALSO
AUTHOR

NAME

tickadj - set time-related kernel variables

SYNOPSIS

tickadj [ -Aqs ] [ -a tickadj ] [ -t tick ]

DESCRIPTION

The tickadj program reads, and optionally modifies, several timekeeping-related variables in the running kernel in some machines, via /dev/kmem . The particular variables it is concerned with are tick , which is the number of microseconds added to the system time during a clock interrupt, tickadj , which sets the slew rate and resolution used by the adjtime system call, and dosynctodr , which 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 the value of the tickadj variable if the intent is to run the ntpd 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 that tickadj should be run 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.

COMMAND LINE OPTIONS

-a

tickadj Set the kernel variable tickadj to the value tickadj specified.

-A

Set the kernel variable tickadj to an internally computed "optimal" value.

-t

tick Set the kernel variable tick to the value tick specified.

-s

Set the kernel variable dosynctodr to zero, which disables the hardware time-of-year clock, a prerequisite for running the ntpd daemon under SunOS4.

-q

Normally, tickadj is quite verbose about what it is doing. The -q flag tells it to shut up about everything except errors.

FILES

/vmunix

/unix

/dev/kmem

BUGS

Fiddling with kernel variables at run time as a part of ordinary operations is a hideous practice which is only necessary to make up for deficiencies in the implementation of adjtime in many kernels and/or brokenness of the system clock in some vendors’ kernels. It would be much better if the kernels were fixed and the tickadj program went away. 

SEE ALSO

Primary source of documentation: /usr/share/doc/ntp-*/tickadj.html

AUTHOR

David L. Mills <mills@udel.edu>






Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.