xref: /freebsd/contrib/ntp/scripts/plot_summary-opts.def (revision e27abb6689c5733dd08ce240d5402a0de3a42254)
12b15cb3dSCy Schubert/* -*- Mode: Text -*- */
22b15cb3dSCy SchubertAutoGen Definitions perlopt;
32b15cb3dSCy Schubert
42b15cb3dSCy Schubert#include autogen-version.def
52b15cb3dSCy Schubert
62b15cb3dSCy Schubertprog-name      = 'plot_summary';
72b15cb3dSCy Schubertprog-title     = 'plot statistics generated by summary script';
82b15cb3dSCy Schubertpackage		= ntp;
92b15cb3dSCy Schubert#include	version.def
102b15cb3dSCy Schubert
112b15cb3dSCy Schubertlong-opts;
122b15cb3dSCy Schubertgnu-usage;
132b15cb3dSCy Schubert
142b15cb3dSCy Schubertflag = {
152b15cb3dSCy Schubert    name        = directory;
162b15cb3dSCy Schubert    arg-type    = string;
172b15cb3dSCy Schubert    arg-default = '/tmp';
182b15cb3dSCy Schubert    descrip     = 'Where the summary files are';
192b15cb3dSCy Schubert    doc         = <<-  _EndOfDoc_
202b15cb3dSCy Schubert        The directory where the @code{plot_summary} will search for the
212b15cb3dSCy Schubert        *_summary files generated by @code{summary} script.
222b15cb3dSCy Schubert	_EndOfDoc_;
232b15cb3dSCy Schubert};
242b15cb3dSCy Schubert
252b15cb3dSCy Schubertflag = {
262b15cb3dSCy Schubert    name        = identifier;
272b15cb3dSCy Schubert    arg-type    = string;
282b15cb3dSCy Schubert    descrip     = 'Origin of the data';
292b15cb3dSCy Schubert    doc         = <<-  _EndOfDoc_
302b15cb3dSCy Schubert        Where does the plotted data come from, default to string "host" plus
312b15cb3dSCy Schubert        current hostname
322b15cb3dSCy Schubert	_EndOfDoc_;
332b15cb3dSCy Schubert};
342b15cb3dSCy Schubert
352b15cb3dSCy Schubertflag = {
362b15cb3dSCy Schubert    name        = offset-limit;
372b15cb3dSCy Schubert    arg-type    = string;
382b15cb3dSCy Schubert    arg-name    = float;
392b15cb3dSCy Schubert    arg-default = "0.128";
402b15cb3dSCy Schubert    descrip     = 'Limit of absolute offset';
412b15cb3dSCy Schubert    doc         = <<-  _EndOfDoc_
422b15cb3dSCy Schubert	_EndOfDoc_;
432b15cb3dSCy Schubert};
442b15cb3dSCy Schubert
452b15cb3dSCy Schubertflag = {
462b15cb3dSCy Schubert    name        = peer;
472b15cb3dSCy Schubert    arg-type    = string;
482b15cb3dSCy Schubert    stack-arg;
492b15cb3dSCy Schubert    max         = NOLIMIT;
502b15cb3dSCy Schubert    descrip     = 'Peers to generate plots for';
512b15cb3dSCy Schubert    doc         = <<-  _EndOfDoc_
522b15cb3dSCy Schubert        By default the peer_summary plots are not generated. Use this option to
532b15cb3dSCy Schubert        specify list of peers if you want to generate plots for them.
542b15cb3dSCy Schubert	_EndOfDoc_;
552b15cb3dSCy Schubert};
562b15cb3dSCy Schubert
572b15cb3dSCy Schubertflag = {
582b15cb3dSCy Schubert    name        = plot-term;
592b15cb3dSCy Schubert    arg-type    = string;
602b15cb3dSCy Schubert    descrip     = 'Gnuplot terminal';
612b15cb3dSCy Schubert    doc         = <<-  _EndOfDoc_
622b15cb3dSCy Schubert        This is string is passed directly to the @code{gnuplot set terminal}
632b15cb3dSCy Schubert        command.  Default is @code{x11} if @code{DISPLAY} is set and
642b15cb3dSCy Schubert        @code{dumb} is it's not'. See output from @code(gnuplot -e "set
65*e27abb66SXin LI        terminal") for the list of available options.
662b15cb3dSCy Schubert	_EndOfDoc_;
672b15cb3dSCy Schubert};
682b15cb3dSCy Schubert
692b15cb3dSCy Schubertflag = {
702b15cb3dSCy Schubert    name        = output-file;
712b15cb3dSCy Schubert    arg-type    = str;
722b15cb3dSCy Schubert    descrip     = 'Output file';
732b15cb3dSCy Schubert    doc         = <<-  _EndOfDoc_
742b15cb3dSCy Schubert        Output file for @code{gnuplot}, default to stdout.
752b15cb3dSCy Schubert	_EndOfDoc_;
762b15cb3dSCy Schubert};
772b15cb3dSCy Schubert
782b15cb3dSCy Schubertflag = {
792b15cb3dSCy Schubert    name        = dont-wait;
802b15cb3dSCy Schubert    descrip     = "Don't wait for keystroke between plots";
812b15cb3dSCy Schubert    doc         = <<-  _EndOfDoc_
822b15cb3dSCy Schubert	_EndOfDoc_;
832b15cb3dSCy Schubert};
84