From: Harlan Stenn Date: Tue, 28 Jan 2014 08:28:29 +0000 (+0000) Subject: [Bug 1349] statistics command not documented in HTML documentation X-Git-Tag: NTP_4_2_7P414~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a3aafe66de615e3ff6d00c97ae244bc6cc961d0;p=thirdparty%2Fntp.git [Bug 1349] statistics command not documented in HTML documentation bk: 52e76a2doeZliS7dHXdaq0UQ2b7fKQ --- diff --git a/ChangeLog b/ChangeLog index 945872d32..e97d35b24 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,13 @@ * [Bug 930] ntpdc docs refer to 'clockinfo', but mean 'clockstat'. * [Bug 1002] ntp-keygen option and documentation updates: -p/--pvt-passwd is now -p/--password, and -q/--get-pvt-passwd is now -q/--export-passwd. +* [Bug 1349] statistics command not documented in HTML documentation. + In html/monopt.html, add statistics id, definition, description, and + correct typo. + In html/scripts/monopt.txt, add statistics item, href, and comment. + In ntpd/ntp.conf.def, under statistics correct four to eight kinds. + In ntpd/complete.conf.in, add all eight kinds to statistics. + In html/comdex.html, remove duplicate footer. * [Bug 2545] Cleanup of scripts/monitoring/ntptrap. (4.2.7p413) 2014/01/27 Released by Harlan Stenn * Require a version string for perl scripts that use autogen. diff --git a/html/comdex.html b/html/comdex.html index bab74a519..747d0a386 100644 --- a/html/comdex.html +++ b/html/comdex.html @@ -23,7 +23,7 @@
-
- + + diff --git a/html/monopt.html b/html/monopt.html index c2cc30f9f..b1ebb543e 100644 --- a/html/monopt.html +++ b/html/monopt.html @@ -104,9 +104,13 @@ by a constant name.
enable | disable
Enable or disable the recording function, with default enable. - These options are intended for remote configutation commands.
+ These options are intended for remote configuration commands. +
statistics name...
+
Enables writing of statistics records. Currently, eight kinds of + statistics are supported: names specify the file set type(s) from + the list in the next section.
statsdir directory_path
Specify the directory path prefix for statistics file names.
diff --git a/html/scripts/monopt.txt b/html/scripts/monopt.txt index 407c615a2..b7d5a2f32 100644 --- a/html/scripts/monopt.txt +++ b/html/scripts/monopt.txt @@ -1,5 +1,6 @@ document.write("

Monitoring Commands and Options

") diff --git a/ntpd/complete.conf.in b/ntpd/complete.conf.in index 9ed02c9fa..9f83e1c3d 100644 --- a/ntpd/complete.conf.in +++ b/ntpd/complete.conf.in @@ -5,7 +5,7 @@ nonvolatile 1e-7 ident "udent" logconfig =allall -allinfo -allevents -allstatistics -allstatus +allall -clockinfo -clockevents -clockstatistics -clockstatus +clockall -syncinfo -syncevents -syncstatistics -syncstatus +syncall -sysinfo -sysevents -sysstatistics -sysstatus +sysall statsdir "/etc/ntp/stats" -statistics loopstats peerstats +statistics clockstats cryptostats loopstats peerstats protostats rawstats sysstats timingstats filegen clockstats file clockstats type none enable filegen cryptostats file cryptostats type pid link disable filegen loopstats file loopstats type day nolink enable diff --git a/ntpd/ntp.conf.def b/ntpd/ntp.conf.def index e0ea34f0c..2e6af4396 100644 --- a/ntpd/ntp.conf.def +++ b/ntpd/ntp.conf.def @@ -1045,7 +1045,7 @@ automatically summarized and archived for retrospective analysis. .Bl -tag -width indent .It Ic statistics Ar name ... Enables writing of statistics records. -Currently, four kinds of +Currently, eight kinds of .Ar name statistics are supported. .Bl -tag -width indent