File: ntptime.html

package info (click to toggle)
xntp3 5.93-2
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 7,644 kB
  • ctags: 7,419
  • sloc: ansic: 59,474; perl: 3,633; sh: 2,623; awk: 417; makefile: 311; asm: 37
file content (59 lines) | stat: -rw-r--r-- 1,723 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Strict//EN">
<html><head><title>
ntptime - read kernel time variables
</title></head><body><h3>
<code>ntptime</code> - read kernel time variables
</h3><hr>

<p><h4>Synopsis</h4>

<p><code>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> ]</code>

<p><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
<code>ntp_gettime()</code> system call. A similar display can be
obtained using the <code>xntpdc</code> program and <code>kerninfo</code>
command.

<p><h4>Options</h4>

<dl>

<dt><code>-c</code>
<dd>Display the execution time of <code>ntptime</code> itself.

<p><dt><code>-e <i>est_error</i></code>
<dd>Specify estimated error, in microseconds.

<p><dt><code>-f <i>frequency</i></code>
<dd>Specify frequency offset, in parts per million.

<p><dt><code>-h</code>
<dd>Display times in Unix timeval format. Default is NTP format.

<p><dt><code>-l</code>
<dd>Specify the leap bits as a code from 0 to 3.

<p><dt><code>-m <i>max_error</i></code>
<dd>Display help information.

<p><dt><code>-o <i>offset</i></code>
<dd>Specify clock offset, in microseconds.

<p><dt><code>-r</code>
<dd>Display Unix and NTP times in raw format.

<p><dt><code>-s <i>status</i></code>
<dd>Specify clock status. Better know what you are doing.

<p><dt><code>-t <i>time_constant</i></code>
<dd>Specify time constant, an integer in the range 0-4.

</dl>

<hr><address>David L. Mills (mills@udel.edu)</address></body></html>