<HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="GENERATOR" CONTENT="Mozilla/4.01 [en] (Win95; I) [Netscape]"> <TITLE>ntptime - read kernel time variables </TITLE> </HEAD> <BODY> <H3> <TT>ntptime</TT> - read kernel time variables</H3> <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> 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. <H4> Options</H4> <DL> <DT> <TT>-c</TT></DT> <DD> Display the execution time of <TT>ntptime</TT> itself.</DD> <DT> <TT>-e <I>est_error</I></TT></DT> <DD> Specify estimated error, in microseconds.</DD> <DT> <TT>-f <I>frequency</I></TT></DT> <DD> Specify frequency offset, in parts per million.</DD> <DT> <TT>-h</TT></DT> <DD> Display times in Unix timeval format. Default is NTP format.</DD> <DT> <TT>-l</TT></DT> <DD> Specify the leap bits as a code from 0 to 3.</DD> <DT> <TT>-m <I>max_error</I></TT></DT> <DD> Display help information.</DD> <DT> <TT>-o <I>offset</I></TT></DT> <DD> Specify clock offset, in microseconds.</DD> <DT> <TT>-r</TT></DT> <DD> Display Unix and NTP times in raw format.</DD> <DT> <TT>-s <I>status</I></TT></DT> <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-4.</DD> </DL> <HR> <ADDRESS> David L. Mills (mills@udel.edu)</ADDRESS> </BODY> </HTML>