155714Skris<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
255714Skris
355714Skris<html>
455714Skris
555714Skris	<head>
655714Skris		<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
755714Skris		<meta name="generator" content="HTML Tidy, see www.w3.org">
855714Skris		<title>ntptime - read kernel time variables</title>
955714Skris		<link href="scripts/style.css" type="text/css" rel="stylesheet">
10	</head>
11
12	<body>
13		<h3><tt>ntptime</tt> - read kernel time variables</h3>
14		<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>
15		<p>The turtle has been swimming in the kernel.</p>
16		<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>
17		<br clear="left">
18		<hr>
19		<h4>Synopsis</h4>
20		<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>
21		<h4>Description</h4>
22		<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>
23		<h4>Options</h4>
24		<dl>
25			<dt><tt>-c</tt>
26			<dd>Display the execution time of <tt>ntptime</tt> itself.
27			<dt><tt>-e <i>est_error</i></tt>
28			<dd>Specify estimated error, in microseconds.
29			<dt><tt>-f <i>frequency</i></tt>
30			<dd>Specify frequency offset, in parts per million.
31			<dt><tt>-h</tt>
32			<dd>Display help information.
33			<dt><tt>-m <i>max_error</i></tt>
34			<dd>Specify max possible errors, in microseconds.
35			<dt><tt>-o <i>offset</i></tt>
36			<dd>Specify clock offset, in microseconds.
37			<dt><tt>-r</tt>
38			<dd>Display Unix and NTP times in raw format.
39			<dt><tt>-s <i>status</i></tt>
40			<dd>Specify clock status. Better know what you are doing.
41			<dt><tt>-t <i>time_constant</i></tt>
42			<dd>Specify time constant, an integer in the range 0-10.
43		</dl>
44		<hr>
45		<script type="text/javascript" language="javascript" src="scripts/footer.txt"></script>
46	</body>
47
48</html>