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.
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.
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]
21 .\" Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
23 .TH "ntptime" "1M" "" "" "System Administration Commands"
25 ntptime \- Display Kernel Time Variables.
29 \fB/usr/sbin/ntptime\fR [\fB-chr\fR] [\fB-e\fR \fIest_error\fR] [\fB-f\fR \fIfrequency\fR]
30 [\fB-m\fR \fImax_error\fR] [\fB-o\fR \fIoffset\fR] [\fB-s\fR \fIstatus\fR] [\fB-t\fR \fItime_constant\fR]
33 This program is used to display or set the kernel variables used by NTP as described in the documentation at
34 file:///usr/share/doc/ntp/kern.html entitled "A Kernel Model for Precision Timekeeping". A similar display can
35 be obtained using the \fBntpdc\fP program and \fBkerninfo\fP command. The actual meaning of these variables
36 is rather difficult to understand, but the \fBntptime\fP program is primarily useful to determine if the variables
37 are set at all or to clear them if they are.
41 Display the time taken to call ntp_gettime (us)
43 .BR "-e \fIesterror\fP"
44 Set the estimated error, in microseconds.
46 .BR "-f \fIfrequency\fP"
47 Set the frequency error (-500 .. 500), in parts per million.
50 Display help information.
52 .BR "-m \fImaxerror\fP"
53 Set the maximum possible error, in microseconds.
56 Set the offset in microseconds.
59 Print the unix and NTP time raw
62 Set the status bits. Do not use this unless you know what you are doing.
64 .BR "-t \fItimeconstant\fP"
65 Set the log2 of PLL time constant, an integer in the range 0-10.
68 The documentation available at /usr/share/doc/ntp is provided as is from the
69 \fBNTP\fR distribution and may contain information that is not applicable to
70 the software as provided in this partIcular distribution.
74 \fBntpd\fR(1M), \fBattributes\fR(5)