16d8a85ebSSheldon Hearn.\" 2*b09403abSJason Helfman.Dd April 27, 2015 36d8a85ebSSheldon Hearn.Dt NTPTIME 8 46d8a85ebSSheldon Hearn.Os 56d8a85ebSSheldon Hearn.Sh NAME 66d8a85ebSSheldon Hearn.Nm ntptime 76d8a85ebSSheldon Hearn.Nd read kernel time variables 86d8a85ebSSheldon Hearn.Sh SYNOPSIS 9e97407b4SRuslan Ermilov.Nm 106d8a85ebSSheldon Hearn.Op Fl chr 116d8a85ebSSheldon Hearn.Op Fl e Ar est_error 126d8a85ebSSheldon Hearn.Op Fl f Ar frequency 136d8a85ebSSheldon Hearn.Op Fl m Ar max_error 146d8a85ebSSheldon Hearn.Op Fl o Ar offset 156d8a85ebSSheldon Hearn.Op Fl s Ar status 166d8a85ebSSheldon Hearn.Op Fl t Ar time_constant 176d8a85ebSSheldon Hearn.Sh DESCRIPTION 18490d5836SPhilippe CharnierThe 19490d5836SPhilippe Charnier.Nm 20490d5836SPhilippe Charnierutility is useful only with special kernels 216d8a85ebSSheldon Hearndescribed in the 226d8a85ebSSheldon Hearn.Qo 236d8a85ebSSheldon HearnA Kernel Model for Precision Timekeeping 246d8a85ebSSheldon Hearn.Qc 256d8a85ebSSheldon Hearnpage 266d8a85ebSSheldon Hearn(available as part of the HTML documentation 276d8a85ebSSheldon Hearnprovided in 286d8a85ebSSheldon Hearn.Pa /usr/share/doc/ntp ) . 296d8a85ebSSheldon HearnIt reads and displays time-related kernel variables 306d8a85ebSSheldon Hearnusing the 31f42dadceSSheldon Hearn.Fn gettime 326d8a85ebSSheldon Hearnand 33f42dadceSSheldon Hearn.Xr adjtime 2 346d8a85ebSSheldon Hearnsystem calls if available. 356d8a85ebSSheldon HearnA similar display can be obtained using the 366d8a85ebSSheldon Hearn.Xr ntpdc 8 376d8a85ebSSheldon Hearnprogram's 386d8a85ebSSheldon Hearn.Ic kerninfo 396d8a85ebSSheldon Hearncommand. 40f42dadceSSheldon Hearn.Pp 416d8a85ebSSheldon HearnThe following options are available: 426d8a85ebSSheldon Hearn.Bl -tag -width indent 436d8a85ebSSheldon Hearn.It Fl c 446d8a85ebSSheldon HearnDisplay the execution time of 456d8a85ebSSheldon Hearn.Nm 466d8a85ebSSheldon Hearnitself. 476d8a85ebSSheldon Hearn.It Fl e Ar est_error 486d8a85ebSSheldon HearnSpecify estimated error, in microseconds. 496d8a85ebSSheldon Hearn.It Fl f Ar frequency 506d8a85ebSSheldon HearnSpecify frequency offset, in parts per million. 516d8a85ebSSheldon Hearn.It Fl h 52f42dadceSSheldon HearnDisplay help information. 536d8a85ebSSheldon Hearn.It Fl m Ar max_error 54f42dadceSSheldon HearnSpecify max possible errors, in microseconds. 556d8a85ebSSheldon Hearn.It Fl o Ar offset 566d8a85ebSSheldon HearnSpecify clock offset, in microseconds. 576d8a85ebSSheldon Hearn.It Fl r 586d8a85ebSSheldon HearnDisplay Unix and NTP times in raw format. 596d8a85ebSSheldon Hearn.It Fl s Ar status 606d8a85ebSSheldon Hearn.It Fl t Ar time_constant 616d8a85ebSSheldon HearnSpecify time constant, an integer in the range 0-4. 626d8a85ebSSheldon Hearn.El 636d8a85ebSSheldon Hearn.Sh SEE ALSO 64f42dadceSSheldon Hearn.Xr adjtime 2 , 656d8a85ebSSheldon Hearn.Xr ntpdc 8 66