Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
NTPsec
ntpsec
Commits
5f0d2e83
Commit
5f0d2e83
authored
Aug 15, 2016
by
Eric S. Raymond
Browse files
Documentation polishing.
parent
ebb83a8f
Changes
3
Hide whitespace changes
Inline
Side-by-side
NEWS
View file @
5f0d2e83
...
...
@@ -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.
...
...
docs/includes/ntpviz-body.txt
View file @
5f0d2e83
...
...
@@ -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.
...
...
ntpstats/ntpstats.py
View file @
5f0d2e83
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment