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 20This program is useful only with special kernels 21described in the 22.Qo 23A Kernel Model for Precision Timekeeping 24.Qc 25page 26(available as part of the HTML documentation 27provided in 28.Pa /usr/share/doc/ntp ) . 29It reads and displays time-related kernel variables 30using the 31.Fn gettime 32and 33.Xr adjtime 2 34system calls if available. 35A similar display can be obtained using the 36.Xr ntpdc 8 37program's 38.Ic kerninfo 39command. 40.Pp 41The following options are available: 42.Bl -tag -width indent 43.It Fl c 44Display the execution time of 45.Nm 46itself. 47.It Fl e Ar est_error 48Specify estimated error, in microseconds. 49.It Fl f Ar frequency 50Specify frequency offset, in parts per million. 51.It Fl h 52Display help information. 53.It Fl l 54Specify the leap bits as a code from 0 to 3. 55.It Fl m Ar max_error 56Specify max possible errors, in microseconds. 57.It Fl o Ar offset 58Specify clock offset, in microseconds. 59.It Fl r 60Display Unix and NTP times in raw format. 61.It Fl s Ar status 62.It Fl t Ar time_constant 63Specify time constant, an integer in the range 0-4. 64.El 65.Sh SEE ALSO 66.Xr adjtime 2 , 67.Xr ntpdc 8 68