freebsd-dev/contrib/ntp/html/ntptime.htm

81 lines
2.0 KiB
HTML
Raw Normal View History

2001-08-29 14:35:15 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org">
<title>ntptime - read kernel time variables</title>
</head>
<body>
<h3><tt>ntptime</tt> - read kernel time variables</h3>
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
<img align="left" src="pic/pogo5.gif" alt="gif"><a href=
"http://www.eecis.udel.edu/~mills/pictures.htm">from <i>Pogo</i>,
Walt Kelly</a>
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
<p>The turtle is been swimming in the kernel.<br clear="left">
</p>
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
<hr>
<h4>Synopsis</h4>
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
<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>
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
<h4>Description</h4>
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
This program is useful only with special kernels described in the
<a href="kern.htm">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.
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
<h4>Options</h4>
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
<dl>
<dt><tt>-c</tt></dt>
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
<dd>Display the execution time of <tt>ntptime</tt> itself.</dd>
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
<dt><tt>-e <i>est_error</i></tt></dt>
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
<dd>Specify estimated error, in microseconds.</dd>
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
<dt><tt>-f <i>frequency</i></tt></dt>
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
<dd>Specify frequency offset, in parts per million.</dd>
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
<dt><tt>-h</tt></dt>
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
<dd>Display help information.</dd>
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
<dt><tt>-m <i>max_error</i></tt></dt>
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
<dd>Specify max possible errors, in microseconds.</dd>
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
<dt><tt>-o <i>offset</i></tt></dt>
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
<dd>Specify clock offset, in microseconds.</dd>
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
<dt><tt>-r</tt></dt>
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
<dd>Display Unix and NTP times in raw format.</dd>
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
<dt><tt>-s <i>status</i></tt></dt>
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
<dd>Specify clock status. Better know what you are doing.</dd>
<dt><tt>-t <i>time_constant</i></tt></dt>
<dd>Specify time constant, an integer in the range 0-10.</dd>
</dl>
<hr>
<a href="index.htm"><img align="left" src="pic/home.gif" alt=
"gif"></a>
<address><a href="mailto:mills@udel.edu">David L. Mills
&lt;mills@udel.edu&gt;</a></address>
</body>
</html>
1999-12-09 13:01:21 +00:00