table of contents
NTPTIME(8) | NTPsec | NTPTIME(8) |
NAME¶
ntptime - read and set kernel time variables
SYNOPSIS¶
ntptime [-chr] [-e est_error] [-f frequency] [-j]
[-m max_error] [-o offset] [-s status]
[-t time_constant]
DESCRIPTION¶
Checks the kernel configuration for the NTP user interface syscalls ntp_gettime() and ntp_adjtime(). If present, the current timekeeping data are displayed. If not, a disappointment is displayed. See the kernel page file in the HTML documentation in distribution for further details.
A similar display can be obtained using the ntpq program and kerninfo command.
This program is useful only with kernels featuring the ntp_adjtime(2) system call or local equivalent, as described in the A <kern.html> Kernel Model for Precision Timekeeping" page,
OPTIONS¶
-c
-e est_error
-f frequency
-h
-j
-m max_error
-o offset
-r
-s status
-t time_constant
-V
BUGS¶
The format for modes and status in the JSON report is less than ideal.
EXIT STATUS¶
One of the following exit values will be returned:
0 (EXIT_SUCCESS)
1 (EXIT_FAILURE)
2024-05-07 | NTPsec |