freebsd-skq/contrib/ntp/scripts/plot_summary-opts.def
Cy Schubert 2b15cb3d09 MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284)
Thanks to roberto for providing pointers to wedge this into HEAD.

Approved by:	roberto
2015-03-30 13:30:15 +00:00

84 lines
2.1 KiB
Plaintext

/* -*- Mode: Text -*- */
AutoGen Definitions perlopt;
#include autogen-version.def
prog-name = 'plot_summary';
prog-title = 'plot statistics generated by summary script';
package = ntp;
#include version.def
long-opts;
gnu-usage;
flag = {
name = directory;
arg-type = string;
arg-default = '/tmp';
descrip = 'Where the summary files are';
doc = <<- _EndOfDoc_
The directory where the @code{plot_summary} will search for the
*_summary files generated by @code{summary} script.
_EndOfDoc_;
};
flag = {
name = identifier;
arg-type = string;
descrip = 'Origin of the data';
doc = <<- _EndOfDoc_
Where does the plotted data come from, default to string "host" plus
current hostname
_EndOfDoc_;
};
flag = {
name = offset-limit;
arg-type = string;
arg-name = float;
arg-default = "0.128";
descrip = 'Limit of absolute offset';
doc = <<- _EndOfDoc_
_EndOfDoc_;
};
flag = {
name = peer;
arg-type = string;
stack-arg;
max = NOLIMIT;
descrip = 'Peers to generate plots for';
doc = <<- _EndOfDoc_
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.
_EndOfDoc_;
};
flag = {
name = plot-term;
arg-type = string;
descrip = 'Gnuplot terminal';
doc = <<- _EndOfDoc_
This is string is passed directly to the @code{gnuplot set terminal}
command. Default is @code{x11} if @code{DISPLAY} is set and
@code{dumb} is it's not'. See output from @code(gnuplot -e "set
terminal") for the list of avalaible options.
_EndOfDoc_;
};
flag = {
name = output-file;
arg-type = str;
descrip = 'Output file';
doc = <<- _EndOfDoc_
Output file for @code{gnuplot}, default to stdout.
_EndOfDoc_;
};
flag = {
name = dont-wait;
descrip = "Don't wait for keystroke between plots";
doc = <<- _EndOfDoc_
_EndOfDoc_;
};