1 /* -*- Mode: Text -*- */
2 AutoGen Definitions perlopt;
4 #include autogen-version.def
6 prog-name = calc_tickadj;
7 prog-title = 'Calculates "optimal" value for tick given ntp drift file.';
18 arg-default = '/etc/ntp/drift';
19 descrip = 'Ntp drift file to use';
20 doc = 'Use the specified drift file for calculations';
27 descrip = 'Tick value of this host';
28 doc = 'The current tick which to adjustment will be calculated';
32 ds-type = 'DESCRIPTION';
34 ds-text = <<- _EndOfDoc
35 The @code{calc_tickadj} script uses provided ntp drift file to generate optimal
36 tick value. Generally, ntpd can do better job if the drift value is the
37 smallest possible number.
43 9999 usec; 9999779 nsec
48 means the following. If tick on that box is 10,000, by making the value 9999
49 we'll shift the box from its current drift of -23.159 to a drift of 81.699, and
50 in doing so we'll speed the clock up a little every second instead of slowing
51 the clock down a little.
53 If 'tick' on that box is 10,000,000 then by setting it to 9999779 the drift
54 value will be somewhere around 0.0.
56 @code{calc_tickadj} tries to determine the the tick value by using
57 @code{tickadj} program from ntp package. If this doesn't work you can specify
58 current tick manually on command line.