]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - usr.sbin/ntp/doc/ntptime.8
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / usr.sbin / ntp / doc / ntptime.8
1 .\"
2 .\" $FreeBSD$
3 .\"
4 .Dd April 27, 2015
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 m Ar max_error
56 Specify max possible errors, in microseconds.
57 .It Fl o Ar offset
58 Specify clock offset, in microseconds.
59 .It Fl r
60 Display Unix and NTP times in raw format.
61 .It Fl s Ar status
62 .It Fl t Ar time_constant
63 Specify time constant, an integer in the range 0-4.
64 .El
65 .Sh SEE ALSO
66 .Xr adjtime 2 ,
67 .Xr ntpdc 8