Commit 5f0d2e83 authored by Eric S. Raymond's avatar Eric S. Raymond
Browse files

Documentation polishing.

parent ebb83a8f
......@@ -8,6 +8,9 @@ on user-visible changes.
== Repository head ==
A new visualization tool, ntpviz, generates graphical summaries of
logfile data that can be helpful
usestats has been added to the statistics collection to record
system resource usage statistics.
......
......@@ -16,7 +16,9 @@
This utility analyzes files in an NTP log directory and generates
statistical plots from them. It can report either PNG images or
the GNUPLOT programs to generate them to standard output.
the GNUPLOT programs to generate them to standard output. In its
default mode it generates an HTML directory containing all polots
and an index page.
The most basic option is -d, which specifies a logfile directory to
examine; the default is /var/log/ntpstats.
......
......@@ -98,8 +98,9 @@ class NTPStats:
if key[0].isdigit():
# TO BE REMOVED SOMEDAY
# Clock address - only possible if we're looking at a logfile made
# by NTP Classic or an NTPsec version before 0.4. Nasty that we
# have to emit a numeric driver type here.
# by NTP Classic or an NTPsec version configured with
# --enable-classic-mode. Nasty that we have to emit a numeric
# driver type here.
if key.startswith("127.127."):
(_, _, t, u) = key.split(".")
return "REFCLOCK(ttype=%s,unit=%s)" % (t, u)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment