* [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 <stenn@ntp.org>
* Require a version string for perl scripts that use autogen.
<script type="text/javascript" language="javascript" src="scripts/miscopt.txt"></script>
<hr>
<script type="text/javascript" language="javascript" src="scripts/footer.txt"></script>
-<hr>
-<script type="text/javascript" language="javascript" src="scripts/footer.txt"></script>
+<!-- <hr> -->
+<!-- <script type="text/javascript" language="javascript" src="scripts/footer.txt"></script> -->
</body>
</html>
by a constant name.</dd>
<dt><tt>enable | disable</tt></dt>
<dd>Enable or disable the recording function, with default <tt>enable</tt>.
- These options are intended for remote configutation commands.</dd>
+ These options are intended for remote configuration commands.</dd>
</dl>
</dd>
+ <dt id="statistics"><tt>statistics <i>name</i>...</tt></dt>
+ <dd>Enables writing of statistics records. Currently, eight kinds of
+ statistics are supported: <i>name</i>s specify the file set type(s) from
+ the list in the next section.</dd>
<dt id="statsdir"><tt>statsdir <i>directory_path</i></tt></dt>
<dd>Specify the directory path prefix for statistics file names.</dd>
</dl>
document.write("<p>Monitoring Commands and Options</p><ul>\
<li class='inline'><a href='monopt.html#filegen'>filegen - specify monitor files</a></li>\
+<li class='inline'><a href='monopt.html#statistics'>statistics - enable writing of statistics records</a></li>\
<li class='inline'><a href='monopt.html#statsdir'>statsdir - specify monitor files directory</a></li>\
<li class='inline'><a href='comdex.html'>Command Index</a></li>\
</ul>")
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
.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