0
|
1 |
'\" te
|
|
2 |
.\" CDDL HEADER START
|
|
3 |
.\"
|
|
4 |
.\" The contents of this file are subject to the terms of the
|
|
5 |
.\" Common Development and Distribution License (the "License").
|
|
6 |
.\" You may not use this file except in compliance with the License.
|
|
7 |
.\"
|
|
8 |
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
|
|
9 |
.\" or http://www.opensolaris.org/os/licensing.
|
|
10 |
.\" See the License for the specific language governing permissions
|
|
11 |
.\" and limitations under the License.
|
|
12 |
.\"
|
|
13 |
.\" When distributing Covered Code, include this CDDL HEADER in each
|
|
14 |
.\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
|
|
15 |
.\" If applicable, add the following below this CDDL HEADER, with the
|
|
16 |
.\" fields enclosed by brackets "[]" replaced with your own identifying
|
|
17 |
.\" information: Portions Copyright [yyyy] [name of copyright owner]
|
|
18 |
.\"
|
|
19 |
.\" CDDL HEADER END
|
|
20 |
.\"
|
11
|
21 |
.\" Copyright 2010 Sun Microsystems, Inc. All rights reserved.
|
0
|
22 |
.\" Use is subject to license terms.
|
|
23 |
.\"
|
11
|
24 |
.\" #ident "@(#)ntptime.1m 1.2 10/03/16 SMI"
|
0
|
25 |
.\"
|
|
26 |
.TH "ntptime" "1M" "" "" "System Administration Commands"
|
|
27 |
.SH NAME
|
|
28 |
ntptime \- Display Kernel Time Variables.
|
|
29 |
.SH SYNOPSIS
|
|
30 |
.LP
|
|
31 |
.n
|
|
32 |
\fB/usr/sbin/ntptime\fR [\fB-chr\fR] [\fB-e\fR \fIest_error\fR] [\fB-f\fR \fIfrequency\fR]
|
|
33 |
[\fB-m\fR \fImax_error\fR] [\fB-o\fR \fIoffset\fR] [\fB-s\fR \fIstatus\fR] [\fB-t\fR \fItime_constant\fR]
|
|
34 |
.fi
|
|
35 |
.SH "DESCRIPTION"
|
|
36 |
This program is used to display or set the kernel variables used by NTP as described in the documentation at
|
|
37 |
file:///usr/share/doc/ntp/kern.html entitled "A Kernel Model for Precision Timekeeping". A similar display can
|
|
38 |
be obtained using the \fBntpdc\fP program and \fBkerninfo\fP command. The actual meaning of these variables
|
|
39 |
is rather difficult to understand, but the \fBntptime\fP program is primarily useful to determine if the variables
|
|
40 |
are set at all or to clear them if they are.
|
|
41 |
.SH "OPTIONS"
|
|
42 |
.TP
|
|
43 |
.BR "-c"
|
|
44 |
Display the time taken to call ntp_gettime (us)
|
|
45 |
.TP
|
|
46 |
.BR "-e \fIesterror\fP"
|
|
47 |
Set the estimated error, in microseconds.
|
|
48 |
.TP
|
|
49 |
.BR "-f \fIfrequency\fP"
|
|
50 |
Set the frequency error (-500 .. 500), in parts per million.
|
|
51 |
.TP
|
|
52 |
.BR "-h"
|
|
53 |
Display help information.
|
|
54 |
.TP
|
|
55 |
.BR "-m \fImaxerror\fP"
|
|
56 |
Set the maximum possible error, in microseconds.
|
|
57 |
.TP
|
|
58 |
.BR "-o \fIoffset\fP"
|
|
59 |
Set the offset in microseconds.
|
|
60 |
.TP
|
|
61 |
.BR "-r"
|
|
62 |
Print the unix and NTP time raw
|
|
63 |
.TP
|
|
64 |
.BR "-s \fIstatus\fP"
|
|
65 |
Set the status bits. Do not use this unless you know what you are doing.
|
|
66 |
.TP
|
|
67 |
.BR "-t \fItimeconstant\fP"
|
|
68 |
Set the log2 of PLL time constant, an integer in the range 0-10.
|
|
69 |
.SH NOTES
|
|
70 |
.LP
|
|
71 |
Source for \fBntptime\fR is available on http://src.opensolaris.org.
|
|
72 |
.LP
|
|
73 |
The documentation available at /usr/share/doc/ntp is provided as is from the
|
|
74 |
\fBNTP\fR distribution and may contain information that is not applicable to
|
|
75 |
the software as provided in this partIcular distribution.
|
|
76 |
.SH ATTRIBUTES
|
|
77 |
See
|
|
78 |
.BR attributes (5)
|
|
79 |
for descriptions of the following attributes:
|
|
80 |
.sp
|
|
81 |
.TS
|
|
82 |
tab() box;
|
|
83 |
cw(2.75i) |cw(2.75i)
|
|
84 |
lw(2.75i) |lw(2.75i)
|
|
85 |
.
|
|
86 |
ATTRIBUTE TYPEATTRIBUTE VALUE
|
|
87 |
_
|
11
|
88 |
Availabilityservice/network/ntp
|
0
|
89 |
=
|
|
90 |
Interface StabilityVolatile
|
|
91 |
.TE
|
|
92 |
.PP
|
|
93 |
.SH SEE ALSO
|
|
94 |
.LP
|
|
95 |
\fBntpd\fR(1M), \fBattributes\fR(5)
|