ntptime.html revision 132451
1132451Sroberto<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2132451Sroberto 3132451Sroberto<html> 4132451Sroberto 5132451Sroberto <head> 6132451Sroberto <meta name="generator" content="HTML Tidy, see www.w3.org"> 7132451Sroberto <title>ntptime - read kernel time variables</title> 8132451Sroberto <link href="scripts/style.css" type="text/css" rel="stylesheet"> 9132451Sroberto </head> 10132451Sroberto 11132451Sroberto <body> 12132451Sroberto <h3><tt>ntptime</tt> - read kernel time variables</h3> 13132451Sroberto <img src="pic/pogo5.gif" alt="gif" align="left"><a href="http://www.eecis.udel.edu/~mills/pictures.html">from <i>Pogo</i>, Walt Kelly</a> 14132451Sroberto <p>The turtle has been swimming in the kernel.</p> 15132451Sroberto <p>Last update: <csobj format="ShortTime" h="24" locale="00000409" region="0" t="DateTime" w="50">20:19</csobj> UTC <csobj format="LongDate" h="24" locale="00000409" region="0" t="DateTime" w="257">Monday, December 02, 2002</csobj></p> 16132451Sroberto <br clear="left"> 17132451Sroberto <hr> 18132451Sroberto <h4>Synopsis</h4> 19132451Sroberto <tt>ntptime [ -chr ] [ -e <i>est_error</i> ] [ -f <i>frequency</i> ] [ -m <i>max_error</i> ] [ -o <i>offset</i> ] [ -s <i>status</i> ] [ -t <i>time_constant</i>]</tt> 20132451Sroberto <h4>Description</h4> 21132451Sroberto <p>This program is useful only with special kernels described in the <a href="kern.html">A Kernel Model for Precision Timekeeping</a> page. It reads and displays time-related kernel variables using the <tt>ntp_gettime()</tt> system call. A similar display can be obtained using the <tt>ntpdc</tt> program and <tt>kerninfo</tt> command.</p> 22132451Sroberto <h4>Options</h4> 23132451Sroberto <dl> 24132451Sroberto <dt><tt>-c</tt> 25132451Sroberto <dd>Display the execution time of <tt>ntptime</tt> itself. 26132451Sroberto <dt><tt>-e <i>est_error</i></tt> 27132451Sroberto <dd>Specify estimated error, in microseconds. 28132451Sroberto <dt><tt>-f <i>frequency</i></tt> 29132451Sroberto <dd>Specify frequency offset, in parts per million. 30132451Sroberto <dt><tt>-h</tt> 31132451Sroberto <dd>Display help information. 32132451Sroberto <dt><tt>-m <i>max_error</i></tt> 33132451Sroberto <dd>Specify max possible errors, in microseconds. 34132451Sroberto <dt><tt>-o <i>offset</i></tt> 35132451Sroberto <dd>Specify clock offset, in microseconds. 36132451Sroberto <dt><tt>-r</tt> 37132451Sroberto <dd>Display Unix and NTP times in raw format. 38132451Sroberto <dt><tt>-s <i>status</i></tt> 39132451Sroberto <dd>Specify clock status. Better know what you are doing. 40132451Sroberto <dt><tt>-t <i>time_constant</i></tt> 41132451Sroberto <dd>Specify time constant, an integer in the range 0-10. 42132451Sroberto </dl> 43132451Sroberto <hr> 44132451Sroberto <script type="text/javascript" language="javascript" src="scripts/footer.txt"></script> 45132451Sroberto </body> 46132451Sroberto 47132451Sroberto</html>