mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 19:52:44 +00:00
ea906c4152
will update usr.sbin/ntp to match this. MFC after: 2 weeks
48 lines
2.3 KiB
HTML
48 lines
2.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
|
|
<meta name="generator" content="HTML Tidy, see www.w3.org">
|
|
<title>ntptime - read kernel time variables</title>
|
|
<link href="scripts/style.css" type="text/css" rel="stylesheet">
|
|
</head>
|
|
|
|
<body>
|
|
<h3><tt>ntptime</tt> - read kernel time variables</h3>
|
|
<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>
|
|
<p>The turtle has been swimming in the kernel.</p>
|
|
<p>Last update: <csobj format="ShortTime" h="25" locale="00000409" region="0" t="DateTime" w="61">18:46</csobj> UTC <csobj format="LongDate" h="25" locale="00000409" region="0" t="DateTime" w="246">Thursday, July 28, 2005</csobj></p>
|
|
<br clear="left">
|
|
<hr>
|
|
<h4>Synopsis</h4>
|
|
<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>
|
|
<h4>Description</h4>
|
|
<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>
|
|
<h4>Options</h4>
|
|
<dl>
|
|
<dt><tt>-c</tt>
|
|
<dd>Display the execution time of <tt>ntptime</tt> itself.
|
|
<dt><tt>-e <i>est_error</i></tt>
|
|
<dd>Specify estimated error, in microseconds.
|
|
<dt><tt>-f <i>frequency</i></tt>
|
|
<dd>Specify frequency offset, in parts per million.
|
|
<dt><tt>-h</tt>
|
|
<dd>Display help information.
|
|
<dt><tt>-m <i>max_error</i></tt>
|
|
<dd>Specify max possible errors, in microseconds.
|
|
<dt><tt>-o <i>offset</i></tt>
|
|
<dd>Specify clock offset, in microseconds.
|
|
<dt><tt>-r</tt>
|
|
<dd>Display Unix and NTP times in raw format.
|
|
<dt><tt>-s <i>status</i></tt>
|
|
<dd>Specify clock status. Better know what you are doing.
|
|
<dt><tt>-t <i>time_constant</i></tt>
|
|
<dd>Specify time constant, an integer in the range 0-10.
|
|
</dl>
|
|
<hr>
|
|
<script type="text/javascript" language="javascript" src="scripts/footer.txt"></script>
|
|
</body>
|
|
|
|
</html> |