276da39af9
Approved by: roberto, delphij Security: VuXML: 0d0f3050-1f69-11e5-9ba9-d050996490d0 Security: http://bugs.ntp.org/show_bug.cgi?id=2853 Security: https://www.kb.cert.org/vuls/id/668167 Security: http://support.ntp.org/bin/view/Main/SecurityNotice#June_2015_NTP_Security_Vulnerabi
208 lines
9.4 KiB
HTML
208 lines
9.4 KiB
HTML
<html lang="en">
|
|
<head>
|
|
<title>Plot_summary User's Manual</title>
|
|
<meta http-equiv="Content-Type" content="text/html">
|
|
<meta name="description" content="Plot_summary User's Manual">
|
|
<meta name="generator" content="makeinfo 4.7">
|
|
<link title="Top" rel="top" href="#Top">
|
|
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
|
<meta http-equiv="Content-Style-Type" content="text/css">
|
|
<style type="text/css"><!--
|
|
pre.display { font-family:inherit }
|
|
pre.format { font-family:inherit }
|
|
pre.smalldisplay { font-family:inherit; font-size:smaller }
|
|
pre.smallformat { font-family:inherit; font-size:smaller }
|
|
pre.smallexample { font-size:smaller }
|
|
pre.smalllisp { font-size:smaller }
|
|
span.sc { font-variant:small-caps }
|
|
span.roman { font-family: serif; font-weight: normal; }
|
|
--></style>
|
|
</head>
|
|
<body>
|
|
<h1 class="settitle">Plot_summary User's Manual</h1>
|
|
<div class="node">
|
|
<p><hr>
|
|
<a name="Top"></a>Next: <a rel="next" accesskey="n" href="#plot_005fsummary-Description">plot_summary Description</a>,
|
|
Previous: <a rel="previous" accesskey="p" href="#dir">(dir)</a>,
|
|
Up: <a rel="up" accesskey="u" href="#dir">(dir)</a>
|
|
<br>
|
|
</div>
|
|
|
|
<h2 class="unnumbered">Plot_summary User Manual</h2>
|
|
|
|
<p>This document describes the use of the NTP Project's <code>plot_summary</code> program.
|
|
This document applies to version 4.2.8p3 of <code>plot_summary</code>.
|
|
|
|
<div class="shortcontents">
|
|
<h2>Short Contents</h2>
|
|
<ul>
|
|
<a href="#Top">Plot_summary User Manual</a>
|
|
</ul>
|
|
</div>
|
|
|
|
<ul class="menu">
|
|
<li><a accesskey="1" href="#plot_005fsummary-Description">plot_summary Description</a>: Description
|
|
<li><a accesskey="2" href="#plot_005fsummary-Invocation">plot_summary Invocation</a>: Invoking plot_summary
|
|
</ul>
|
|
|
|
<div class="node">
|
|
<p><hr>
|
|
<a name="plot_005fsummary-Invocation"></a>Previous: <a rel="previous" accesskey="p" href="#plot_005fsummary-Description">plot_summary Description</a>,
|
|
Up: <a rel="up" accesskey="u" href="#Top">Top</a>
|
|
<br>
|
|
</div>
|
|
|
|
<h3 class="section">Invoking plot_summary</h3>
|
|
|
|
<p><a name="index-plot_005fsummary-1"></a><a name="index-plot-statistics-generated-by-summary-script-2"></a>
|
|
|
|
<p>This section was generated by <strong>AutoGen</strong>,
|
|
using the <code>agtexi-cmd</code> template and the option descriptions for the <code>plot_summary</code> program.
|
|
|
|
<ul class="menu">
|
|
<li><a accesskey="1" href="#plot_005fsummary-usage">plot_summary usage</a>: plot_summary help/usage (<span class="option">--help</span>)
|
|
<li><a accesskey="2" href="#plot_005fsummary-directory">plot_summary directory</a>: directory option
|
|
<li><a accesskey="3" href="#plot_005fsummary-identifier">plot_summary identifier</a>: identifier option
|
|
<li><a accesskey="4" href="#plot_005fsummary-peer">plot_summary peer</a>: peer option
|
|
<li><a accesskey="5" href="#plot_005fsummary-plot_002dterm">plot_summary plot-term</a>: plot-term option
|
|
<li><a accesskey="6" href="#plot_005fsummary-output_002dfile">plot_summary output-file</a>: output-file option
|
|
<li><a accesskey="7" href="#plot_005fsummary-exit-status">plot_summary exit status</a>: exit status
|
|
</ul>
|
|
|
|
<div class="node">
|
|
<p><hr>
|
|
<a name="plot_005fsummary-usage"></a>Next: <a rel="next" accesskey="n" href="#plot_005fsummary-directory">plot_summary directory</a>,
|
|
Up: <a rel="up" accesskey="u" href="#plot_005fsummary-Invocation">plot_summary Invocation</a>
|
|
<br>
|
|
</div>
|
|
|
|
<h4 class="subsection">plot_summary help/usage (<span class="option">--help</span>)</h4>
|
|
|
|
<p><a name="index-plot_005fsummary-help-3"></a>
|
|
This is the automatically generated usage text for plot_summary.
|
|
|
|
<p>The text printed is the same whether selected with the <code>help</code> option
|
|
(<span class="option">--help</span>) or the <code>more-help</code> option (<span class="option">--more-help</span>). <code>more-help</code> will print
|
|
the usage text by passing it through a pager program.
|
|
<code>more-help</code> is disabled on platforms without a working
|
|
<code>fork(2)</code> function. The <code>PAGER</code> environment variable is
|
|
used to select the program, defaulting to <span class="file">more</span>. Both will exit
|
|
with a status code of 0.
|
|
|
|
<pre class="example">plot_summary - plot statistics generated by summary script - Ver. 4.2.8p3
|
|
USAGE: plot_summary [ -<flag> [<val>] | --<name>[{=| }<val>] ]...
|
|
|
|
--directory=str Where the summary files are
|
|
--identifier=str Origin of the data
|
|
--offset-limit=float Limit of absolute offset
|
|
--peer=str Peers to generate plots for
|
|
- may appear multiple times
|
|
--plot-term=str Gnuplot terminal
|
|
--output-file=str Output file
|
|
--dont-wait Don't wait for keystroke between plots
|
|
-?, --help Display usage information and exit
|
|
--more-help Pass the extended usage text through a pager
|
|
|
|
Options are specified by doubled hyphens and their name or by a single
|
|
hyphen and the flag character.
|
|
</pre>
|
|
<div class="node">
|
|
<p><hr>
|
|
<a name="plot_005fsummary-directory"></a>Next: <a rel="next" accesskey="n" href="#plot_005fsummary-identifier">plot_summary identifier</a>,
|
|
Previous: <a rel="previous" accesskey="p" href="#plot_005fsummary-usage">plot_summary usage</a>,
|
|
Up: <a rel="up" accesskey="u" href="#plot_005fsummary-Invocation">plot_summary Invocation</a>
|
|
<br>
|
|
</div>
|
|
|
|
<h4 class="subsection">directory option</h4>
|
|
|
|
<p><a name="index-plot_005fsummary_002ddirectory-4"></a>
|
|
This is the “where the summary files are” option.
|
|
This option takes a string argument.
|
|
The directory where the <code>plot_summary</code> will search for the
|
|
*_summary files generated by <code>summary</code> script.
|
|
<div class="node">
|
|
<p><hr>
|
|
<a name="plot_005fsummary-identifier"></a>Next: <a rel="next" accesskey="n" href="#plot_005fsummary-peer">plot_summary peer</a>,
|
|
Previous: <a rel="previous" accesskey="p" href="#plot_005fsummary-directory">plot_summary directory</a>,
|
|
Up: <a rel="up" accesskey="u" href="#plot_005fsummary-Invocation">plot_summary Invocation</a>
|
|
<br>
|
|
</div>
|
|
|
|
<h4 class="subsection">identifier option</h4>
|
|
|
|
<p><a name="index-plot_005fsummary_002didentifier-5"></a>
|
|
This is the “origin of the data” option.
|
|
This option takes a string argument.
|
|
Where does the plotted data come from, default to string "host" plus
|
|
current hostname
|
|
<div class="node">
|
|
<p><hr>
|
|
<a name="plot_005fsummary-peer"></a>Next: <a rel="next" accesskey="n" href="#plot_005fsummary-plot_002dterm">plot_summary plot-term</a>,
|
|
Previous: <a rel="previous" accesskey="p" href="#plot_005fsummary-identifier">plot_summary identifier</a>,
|
|
Up: <a rel="up" accesskey="u" href="#plot_005fsummary-Invocation">plot_summary Invocation</a>
|
|
<br>
|
|
</div>
|
|
|
|
<h4 class="subsection">peer option</h4>
|
|
|
|
<p><a name="index-plot_005fsummary_002dpeer-6"></a>
|
|
This is the “peers to generate plots for” option.
|
|
This option takes a string argument.
|
|
|
|
<p class="noindent">This option has some usage constraints. It:
|
|
<ul>
|
|
<li>may appear an unlimited number of times.
|
|
</ul>
|
|
|
|
<p>By default the peer_summary plots are not generated. Use this option to
|
|
specify list of peers if you want to generate plots for them.
|
|
<div class="node">
|
|
<p><hr>
|
|
<a name="plot_005fsummary-plot_002dterm"></a>Next: <a rel="next" accesskey="n" href="#plot_005fsummary-output_002dfile">plot_summary output-file</a>,
|
|
Previous: <a rel="previous" accesskey="p" href="#plot_005fsummary-peer">plot_summary peer</a>,
|
|
Up: <a rel="up" accesskey="u" href="#plot_005fsummary-Invocation">plot_summary Invocation</a>
|
|
<br>
|
|
</div>
|
|
|
|
<h4 class="subsection">plot-term option</h4>
|
|
|
|
<p><a name="index-plot_005fsummary_002dplot_002dterm-7"></a>
|
|
This is the “gnuplot terminal” option.
|
|
This option takes a string argument.
|
|
This is string is passed directly to the <code>gnuplot set terminal</code>
|
|
command. Default is <code>x11</code> if <code>DISPLAY</code> is set and
|
|
<code>dumb</code> is it's not'. See output from -e "set
|
|
terminal") for the list of avalaible options.
|
|
<div class="node">
|
|
<p><hr>
|
|
<a name="plot_005fsummary-output_002dfile"></a>Next: <a rel="next" accesskey="n" href="#plot_005fsummary-exit-status">plot_summary exit status</a>,
|
|
Previous: <a rel="previous" accesskey="p" href="#plot_005fsummary-plot_002dterm">plot_summary plot-term</a>,
|
|
Up: <a rel="up" accesskey="u" href="#plot_005fsummary-Invocation">plot_summary Invocation</a>
|
|
<br>
|
|
</div>
|
|
|
|
<h4 class="subsection">output-file option</h4>
|
|
|
|
<p><a name="index-plot_005fsummary_002doutput_002dfile-8"></a>
|
|
This is the “output file” option.
|
|
This option takes a str argument.
|
|
Output file for <code>gnuplot</code>, default to stdout.
|
|
<div class="node">
|
|
<p><hr>
|
|
<a name="plot_005fsummary-exit-status"></a>Previous: <a rel="previous" accesskey="p" href="#plot_005fsummary-output_002dfile">plot_summary output-file</a>,
|
|
Up: <a rel="up" accesskey="u" href="#plot_005fsummary-Invocation">plot_summary Invocation</a>
|
|
<br>
|
|
</div>
|
|
|
|
<h4 class="subsection">plot_summary exit status</h4>
|
|
|
|
<p>One of the following exit values will be returned:
|
|
<dl>
|
|
<dt><span class="samp">0 (EXIT_SUCCESS)</span><dd>Successful program execution.
|
|
<br><dt><span class="samp">1 (EXIT_FAILURE)</span><dd>The operation failed or the command syntax was not valid.
|
|
</dl>
|
|
|
|
</body></html>
|
|
|