path: root/contrib/ntp/scripts/calc_tickadj/calc_tickadj.1calc_tickadjman
diff options
authorGleb Smirnoff <glebius@FreeBSD.org>2015-10-26 11:42:25 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2015-10-26 11:42:25 +0000
commit009e7aaa36cdc634402b808846ff82869c79b076 (patch)
tree87ec8a7d959d10b98fa9068d0c72ebea6c14f0fb /contrib/ntp/scripts/calc_tickadj/calc_tickadj.1calc_tickadjman
parent9f2ff1c7f301609664a1ef5f55688b9254c1b424 (diff)
Upgrade NTP to 4.2.8p4.
Security: FreeBSD-SA-15:25.ntp Security: CVE-2015-7871 Security: CVE-2015-7855 Security: CVE-2015-7854 Security: CVE-2015-7853 Security: CVE-2015-7852 Security: CVE-2015-7851 Security: CVE-2015-7850 Security: CVE-2015-7849 Security: CVE-2015-7848 Security: CVE-2015-7701 Security: CVE-2015-7703 Security: CVE-2015-7704, CVE-2015-7705 Security: CVE-2015-7691, CVE-2015-7692, CVE-2015-7702 Approved by: so
Notes: svn path=/releng/9.3/; revision=290001
Diffstat (limited to 'contrib/ntp/scripts/calc_tickadj/calc_tickadj.1calc_tickadjman')
1 files changed, 108 insertions, 0 deletions
diff --git a/contrib/ntp/scripts/calc_tickadj/calc_tickadj.1calc_tickadjman b/contrib/ntp/scripts/calc_tickadj/calc_tickadj.1calc_tickadjman
new file mode 100644
index 000000000000..9057b89bb921
--- /dev/null
+++ b/contrib/ntp/scripts/calc_tickadj/calc_tickadj.1calc_tickadjman
@@ -0,0 +1,108 @@
+.de1 NOP
+. it 1 an-trap
+. if \\n[.$] \,\\$*\/
+.ie t \
+.ds B-Font [CB]
+.ds I-Font [CI]
+.ds R-Font [CR]
+.el \
+.ds B-Font B
+.ds I-Font I
+.ds R-Font R
+.TH calc_tickadj 1calc_tickadjman "21 Oct 2015" "ntp (4.2.8p4)" "User Commands"
+.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-3baGnz/ag-dcaOmz)
+.\" It has been AutoGen-ed October 21, 2015 at 12:33:58 PM by AutoGen 5.18.5
+.\" From the definitions calc_tickadj-opts.def
+.\" and the template file agman-cmd.tpl
+\- Calculates optimal value for tick given ntp drift file.
+.\" Mixture of short (flag) options and long options
+[\f\*[B-Font]\-flag\f[] [\f\*[I-Font]value\f[]]]
+[\f\*[B-Font]\-\-option-name\f[][[=| ]\f\*[I-Font]value\f[]]]
+.sp \n(Ppu
+.ne 2
+All arguments must be options.
+.sp \n(Ppu
+.ne 2
+The \fBcalc_tickadj\fP script uses provided ntp drift file to generate optimal
+tick value. Generally, ntpd can do better job if the drift value is the
+smallest possible number.
+The example output of
+.in +4
+$ ./calc_tickadj
+81.699 (drift)
+9999 usec; 9999779 nsec
+$ cat /etc/ntp/drift
+.in -4
+means the following. If tick on that box is 10,000, by making the value 9999
+we'll shift the box from its current drift of \-23.159 to a drift of 81.699, and
+in doing so we'll speed the clock up a little every second instead of slowing
+the clock down a little.
+If 'tick' on that box is 10,000,000 then by setting it to 9999779 the drift
+value will be somewhere around 0.0.
+\fBcalc_tickadj\fP tries to determine the the tick value by using
+\fBtickadj\fP program from ntp package. If this doesn't work you can specify
+current tick manually on command line.
+.NOP \f\*[B-Font]\-d\f[] \f\*[I-Font]string\f[], \f\*[B-Font]\-\-drift\-file\f[]=\f\*[I-Font]string\f[]
+Ntp drift file to use.
+The default
+for this option is:
+.ti +4
+ /etc/ntp/drift
+Use the specified drift file for calculations
+.NOP \f\*[B-Font]\-t\f[] \f\*[I-Font]number\f[], \f\*[B-Font]\-\-tick\f[]=\f\*[I-Font]number\f[]
+Tick value of this host.
+This option takes an integer number as its argument.
+The current tick which to adjustment will be calculated
+.NOP \f\*[B-Font]\-\&?\f[], \f\*[B-Font]\-\-help\f[]
+Display usage information and exit.
+.NOP \f\*[B-Font]\-\&!\f[], \f\*[B-Font]\-\-more-help\f[]
+Pass the extended usage information through a pager.
+.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[]}]}]
+Output version of program and exit. The default mode is `v', a simple
+version. The `c' mode will print copyright information and `n' will
+print the full copyright notice.
+One of the following exit values will be returned:
+Successful program execution.
+The operation failed or the command syntax was not valid.
+libopts had an internal operational error. Please report
+it to autogen-users@lists.sourceforge.net. Thank you.
+This manual page was \fIAutoGen\fP-erated from the \fBcalc_tickadj\fP
+option definitions.