2 .Dt CALC_TICKADJ 1calc_tickadjmdoc User Commands
4 .\" EDIT THIS FILE WITH CAUTION (calc_tickadj-opts.mdoc)
6 .\" It has been AutoGen-ed January 20, 2016 at 04:09:46 AM by AutoGen 5.18.5
7 .\" From the definitions calc_tickadj-opts.def
8 .\" and the template file agmdoc-cmd.tpl
11 .Nd Calculates "optimal" value for tick given ntp drift file.
14 .\" Mixture of short (flag) options and long options
16 .Op Fl flag Op Ar value
17 .Op Fl \-option\-name Ns Oo Oo Ns "=| " Oc Ns Ar value Oc
19 All arguments must be options.
22 The \fBcalc_tickadj\fP script uses provided ntp drift file to generate optimal
23 tick value. Generally, ntpd can do better job if the drift value is the
24 smallest possible number.
27 .Bd -literal -offset indent
30 9999 usec; 9999779 nsec
35 means the following. If tick on that box is 10,000, by making the value 9999
36 we'll shift the box from its current drift of \-23.159 to a drift of 81.699, and
37 in doing so we'll speed the clock up a little every second instead of slowing
38 the clock down a little.
40 If 'tick' on that box is 10,000,000 then by setting it to 9999779 the drift
41 value will be somewhere around 0.0.
43 \fBcalc_tickadj\fP tries to determine the the tick value by using
44 \fBtickadj\fP program from ntp package. If this doesn't work you can specify
45 current tick manually on command line.
48 .It Fl d Ar string , Fl \-drift\-file Ns = Ns Ar string
49 Ntp drift file to use.
56 Use the specified drift file for calculations
57 .It Fl t Ar number , Fl \-tick Ns = Ns Ar number
58 Tick value of this host.
59 This option takes an integer number as its argument.
61 The current tick which to adjustment will be calculated
62 .It Fl \&? , Fl \-help
63 Display usage information and exit.
64 .It Fl \&! , Fl \-more\-help
65 Pass the extended usage information through a pager.
66 .It Fl v Op Brq Ar v|c|n Fl \-version Op Brq Ar v|c|n
67 Output version of program and exit. The default mode is `v', a simple
68 version. The `c' mode will print copyright information and `n' will
69 print the full copyright notice.
72 One of the following exit values will be returned:
74 .It 0 " (EXIT_SUCCESS)"
75 Successful program execution.
76 .It 1 " (EXIT_FAILURE)"
77 The operation failed or the command syntax was not valid.
78 .It 70 " (EX_SOFTWARE)"
79 libopts had an internal operational error. Please report
80 it to autogen\-users@lists.sourceforge.net. Thank you.
83 This manual page was \fIAutoGen\fP\-erated from the \fBcalc_tickadj\fP