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