13 .TH calc_tickadj 1calc_tickadjman "26 Apr 2016" "ntp (4.2.8p7)" "User Commands"
15 .\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-b1aGJu/ag-n1aOIu)
17 .\" It has been AutoGen-ed April 26, 2016 at 08:24:11 PM by AutoGen 5.18.5
18 .\" From the definitions calc_tickadj-opts.def
19 .\" and the template file agman-cmd.tpl
21 \f\*[B-Font]calc_tickadj\fP
22 \- Calculates optimal value for tick given ntp drift file.
24 \f\*[B-Font]calc_tickadj\fP
25 .\" Mixture of short (flag) options and long options
26 [\f\*[B-Font]\-flags\f[]]
27 [\f\*[B-Font]\-flag\f[] [\f\*[I-Font]value\f[]]]
28 [\f\*[B-Font]\-\-option-name\f[][[=| ]\f\*[I-Font]value\f[]]]
32 All arguments must be options.
37 The \fBcalc_tickadj\fP script uses provided ntp drift file to generate optimal
38 tick value. Generally, ntpd can do better job if the drift value is the
39 smallest possible number.
47 9999 usec; 9999779 nsec
53 means the following. If tick on that box is 10,000, by making the value 9999
54 we'll shift the box from its current drift of \-23.159 to a drift of 81.699, and
55 in doing so we'll speed the clock up a little every second instead of slowing
56 the clock down a little.
58 If 'tick' on that box is 10,000,000 then by setting it to 9999779 the drift
59 value will be somewhere around 0.0.
61 \fBcalc_tickadj\fP tries to determine the the tick value by using
62 \fBtickadj\fP program from ntp package. If this doesn't work you can specify
63 current tick manually on command line.
66 .NOP \f\*[B-Font]\-d\f[] \f\*[I-Font]string\f[], \f\*[B-Font]\-\-drift\-file\f[]=\f\*[I-Font]string\f[]
67 Ntp drift file to use.
69 \f\*[I-Font]string\f[]
74 Use the specified drift file for calculations
76 .NOP \f\*[B-Font]\-t\f[] \f\*[I-Font]number\f[], \f\*[B-Font]\-\-tick\f[]=\f\*[I-Font]number\f[]
77 Tick value of this host.
78 This option takes an integer number as its argument.
80 The current tick which to adjustment will be calculated
82 .NOP \f\*[B-Font]\-\&?\f[], \f\*[B-Font]\-\-help\f[]
83 Display usage information and exit.
85 .NOP \f\*[B-Font]\-\&!\f[], \f\*[B-Font]\-\-more-help\f[]
86 Pass the extended usage information through a pager.
88 .NOP \f\*[B-Font]\-v\f[] [{\f\*[I-Font]v|c|n\f[] \f\*[B-Font]\-\-version\f[] [{\f\*[I-Font]v|c|n\f[]}]}]
89 Output version of program and exit. The default mode is `v', a simple
90 version. The `c' mode will print copyright information and `n' will
91 print the full copyright notice.
94 One of the following exit values will be returned:
96 .NOP 0 " (EXIT_SUCCESS)"
97 Successful program execution.
99 .NOP 1 " (EXIT_FAILURE)"
100 The operation failed or the command syntax was not valid.
102 .NOP 70 " (EX_SOFTWARE)"
103 libopts had an internal operational error. Please report
104 it to autogen-users@lists.sourceforge.net. Thank you.
107 This manual page was \fIAutoGen\fP-erated from the \fBcalc_tickadj\fP