ntptime(8)

ntptime8

Read kernel time variables

Usage

ntptime [-chr] [-e est_error] [-f frequency] [-m max_error] [-o offset] [-s status] [-t time_constant]

Overview

The ntptime utility is useful only with special kernels described in the" A Kernel Model for Precision Timekeeping" page (available as part of the HTML documentation provided in /usr/share/doc/ntp). It reads and displays time-related kernel variables using the gettime() and adjtime(2) system calls if available. A similar display can be obtained using the ntpdc(8) program's kerninfo command.

The following options are available:

-c

Display the execution time of ntptime itself.

-e est_error

Specify estimated error, in microseconds.

-f frequency

Specify frequency offset, in parts per million.

-h

Display help information.

-m max_error

Specify max possible errors, in microseconds.

-o offset

Specify clock offset, in microseconds.

-r

Display Unix and NTP times in raw format.

-s status
-t time_constant

Specify time constant, an integer in the range 0-4.

Releases

70 releases since FreeBSD 4.0-RELEASE; the text changed 37 times.

  1. 4.0–4.2
  2. 4.3
  3. 4.4
  4. 4.5–4.7
  5. 4.8–4.11
  6. 5.0–6.3
  7. 6.4
  8. 7.0
  9. 7.1
  10. 7.2
  11. 7.3
  12. 7.4
  13. 8.0
  14. 8.1
  15. 8.2
  16. 8.3
  17. 8.4
  18. 9.0
  19. 9.1
  20. 9.2
  21. 9.3
  22. 10.0
  23. 10.1
  24. 10.2
  25. 10.3
  26. 10.4
  27. 11.0
  28. 11.1
  29. 11.2
  30. 11.3
  31. 11.4
  32. 12.0
  33. 12.1
  34. 12.2
  35. 12.3
  36. 12.4
  37. 13.0–13.2
  38. 13.3–16.0

-l until FreeBSD 10.1-RELEASE.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.