]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - usr.sbin/ntp/doc/ntptime.8
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / usr.sbin / ntp / doc / ntptime.8
1 .\"
2 .\" $FreeBSD$
3 .\"
4 .Dd January 7, 2000
5 .Dt NTPTIME 8
6 .Os
7 .Sh NAME
8 .Nm ntptime
9 .Nd read kernel time variables
10 .Sh SYNOPSIS
11 .Nm
12 .Op Fl chr
13 .Op Fl e Ar est_error
14 .Op Fl f Ar frequency
15 .Op Fl m Ar max_error
16 .Op Fl o Ar offset
17 .Op Fl s Ar status
18 .Op Fl t Ar time_constant
19 .Sh DESCRIPTION
20 The
21 .Nm
22 utility is useful only with special kernels
23 described in the
24 .Qo
25 A Kernel Model for Precision Timekeeping
26 .Qc
27 page
28 (available as part of the HTML documentation
29 provided in
30 .Pa /usr/share/doc/ntp ) .
31 It reads and displays time-related kernel variables
32 using the
33 .Fn gettime
34 and
35 .Xr adjtime 2
36 system calls if available.
37 A similar display can be obtained using the
38 .Xr ntpdc 8
39 program's
40 .Ic kerninfo
41 command.
42 .Pp
43 The following options are available:
44 .Bl -tag -width indent
45 .It Fl c
46 Display the execution time of
47 .Nm
48 itself.
49 .It Fl e Ar est_error
50 Specify estimated error, in microseconds.
51 .It Fl f Ar frequency
52 Specify frequency offset, in parts per million.
53 .It Fl h
54 Display help information.
55 .It Fl l
56 Specify the leap bits as a code from 0 to 3.
57 .It Fl m Ar max_error
58 Specify max possible errors, in microseconds.
59 .It Fl o Ar offset
60 Specify clock offset, in microseconds.
61 .It Fl r
62 Display Unix and NTP times in raw format.
63 .It Fl s Ar status
64 .It Fl t Ar time_constant
65 Specify time constant, an integer in the range 0-4.
66 .El
67 .Sh SEE ALSO
68 .Xr adjtime 2 ,
69 .Xr ntpdc 8