1NTPTIME(8)                          NTPsec                          NTPTIME(8)
2
3
4

NAME

6       ntptime - read and set kernel time variables
7

SYNOPSIS

9       ntptime [-chr] [-e est_error] [-f frequency] [-j]
10               [-m max_error] [-o offset] [-s status]
11               [-t time_constant]
12

DESCRIPTION

14       Checks the kernel configuration for the NTP user interface syscalls
15       ntp_gettime() and ntp_adjtime(). If present, the current timekeeping
16       data are displayed. If not, a disappointment is displayed. See the
17       kernel page file in the HTML documentation in distribution for further
18       details.
19
20       A similar display can be obtained using the ntpq program and kerninfo
21       command.
22
23       This program is useful only with kernels featuring the ntp_adjtime(2)
24       system call or local equivalent, as described in the A <kern.html>
25       Kernel Model for Precision Timekeeping"  page,
26

OPTIONS

28       -c
29           Display the execution time of ntptime itself.
30
31       -e est_error
32           Specify estimated error, in microseconds.
33
34       -f frequency
35           Specify frequency offset, in parts per million.
36
37       -h
38           Display help information.
39
40       -j
41           Report in JSON rather than plain text.
42
43       -m max_error
44           Specify max possible errors, in microseconds.
45
46       -o offset
47           Specify clock offset, in microseconds.
48
49       -r
50           Display Unix and NTP times in raw format.
51
52       -s status
53           Specify clock status. Better know what you are doing.
54
55       -t time_constant
56           Specify time constant, an integer in the range 0-10.
57
58       -V
59           Print the version string and exit.
60

BUGS

62       The format for modes and status in the JSON report is less than ideal.
63

EXIT STATUS

65       One of the following exit values will be returned:
66
67       0 (EXIT_SUCCESS)
68           Successful program execution.
69
70       1 (EXIT_FAILURE)
71           The operation failed or the command invocation was not valid.
72
73
74
75NTPsec                            2021-07-22                        NTPTIME(8)
Impressum