xref: /freebsd-src/contrib/ntp/scripts/invoke-plot_summary.texi (revision f5f40dd63bc7acbb5312b26ac1ea1103c12352a6)
12b15cb3dSCy Schubert@node plot_summary Invocation
22b15cb3dSCy Schubert@section Invoking plot_summary
32b15cb3dSCy Schubert@pindex plot_summary
42b15cb3dSCy Schubert@cindex plot statistics generated by summary script
52b15cb3dSCy Schubert@ignore
62b15cb3dSCy Schubert#
72b15cb3dSCy Schubert# EDIT THIS FILE WITH CAUTION  (invoke-plot_summary.texi)
82b15cb3dSCy Schubert#
9*f5f40dd6SCy Schubert# It has been AutoGen-ed  May 25, 2024 at 12:05:57 AM by AutoGen 5.18.16
102b15cb3dSCy Schubert# From the definitions    plot_summary-opts.def
112b15cb3dSCy Schubert# and the template file   agtexi-cmd.tpl
122b15cb3dSCy Schubert@end ignore
132b15cb3dSCy Schubert
142b15cb3dSCy Schubert
152b15cb3dSCy SchubertThis section was generated by @strong{AutoGen},
162b15cb3dSCy Schubertusing the @code{agtexi-cmd} template and the option descriptions for the @code{plot_summary} program.
172b15cb3dSCy Schubert
182b15cb3dSCy Schubert@menu
192b15cb3dSCy Schubert* plot_summary usage::                  plot_summary help/usage (@option{--help})
202b15cb3dSCy Schubert* plot_summary directory::              directory option
212b15cb3dSCy Schubert* plot_summary identifier::             identifier option
222b15cb3dSCy Schubert* plot_summary peer::                   peer option
232b15cb3dSCy Schubert* plot_summary plot-term::              plot-term option
242b15cb3dSCy Schubert* plot_summary output-file::            output-file option
252b15cb3dSCy Schubert* plot_summary exit status::            exit status
262b15cb3dSCy Schubert@end menu
272b15cb3dSCy Schubert
282b15cb3dSCy Schubert@node plot_summary usage
292b15cb3dSCy Schubert@subsection plot_summary help/usage (@option{--help})
302b15cb3dSCy Schubert@cindex plot_summary help
312b15cb3dSCy Schubert
322b15cb3dSCy SchubertThis is the automatically generated usage text for plot_summary.
332b15cb3dSCy Schubert
342b15cb3dSCy SchubertThe text printed is the same whether selected with the @code{help} option
352b15cb3dSCy Schubert(@option{--help}) or the @code{more-help} option (@option{--more-help}).  @code{more-help} will print
362b15cb3dSCy Schubertthe usage text by passing it through a pager program.
372b15cb3dSCy Schubert@code{more-help} is disabled on platforms without a working
382b15cb3dSCy Schubert@code{fork(2)} function.  The @code{PAGER} environment variable is
392b15cb3dSCy Schubertused to select the program, defaulting to @file{more}.  Both will exit
402b15cb3dSCy Schubertwith a status code of 0.
412b15cb3dSCy Schubert
422b15cb3dSCy Schubert@exampleindent 0
432b15cb3dSCy Schubert@example
44*f5f40dd6SCy Schubertplot_summary - plot statistics generated by summary script - Ver. 4.2.8p18
452b15cb3dSCy SchubertUSAGE: plot_summary [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]...
462b15cb3dSCy Schubert
472b15cb3dSCy Schubert        --directory=str          Where the summary files are
482b15cb3dSCy Schubert        --identifier=str         Origin of the data
492b15cb3dSCy Schubert        --offset-limit=float     Limit of absolute offset
502b15cb3dSCy Schubert        --peer=str               Peers to generate plots for
512b15cb3dSCy Schubert                                   - may appear multiple times
522b15cb3dSCy Schubert        --plot-term=str          Gnuplot terminal
532b15cb3dSCy Schubert        --output-file=str        Output file
542b15cb3dSCy Schubert        --dont-wait              Don't wait for keystroke between plots
552b15cb3dSCy Schubert    -?, --help                   Display usage information and exit
562b15cb3dSCy Schubert        --more-help              Pass the extended usage text through a pager
572b15cb3dSCy Schubert
582b15cb3dSCy SchubertOptions are specified by doubled hyphens and their name or by a single
592b15cb3dSCy Schuberthyphen and the flag character.
602b15cb3dSCy Schubert@end example
612b15cb3dSCy Schubert@exampleindent 4
622b15cb3dSCy Schubert
632b15cb3dSCy Schubert@node plot_summary directory
642b15cb3dSCy Schubert@subsection directory option
652b15cb3dSCy Schubert@cindex plot_summary-directory
662b15cb3dSCy Schubert
672b15cb3dSCy SchubertThis is the ``where the summary files are'' option.
682b15cb3dSCy SchubertThis option takes a string argument.
692b15cb3dSCy Schubert        The directory where the @code{plot_summary} will search for the
702b15cb3dSCy Schubert        *_summary files generated by @code{summary} script.
712b15cb3dSCy Schubert@node plot_summary identifier
722b15cb3dSCy Schubert@subsection identifier option
732b15cb3dSCy Schubert@cindex plot_summary-identifier
742b15cb3dSCy Schubert
752b15cb3dSCy SchubertThis is the ``origin of the data'' option.
762b15cb3dSCy SchubertThis option takes a string argument.
772b15cb3dSCy Schubert        Where does the plotted data come from, default to string "host" plus
782b15cb3dSCy Schubert        current hostname
792b15cb3dSCy Schubert@node plot_summary peer
802b15cb3dSCy Schubert@subsection peer option
812b15cb3dSCy Schubert@cindex plot_summary-peer
822b15cb3dSCy Schubert
832b15cb3dSCy SchubertThis is the ``peers to generate plots for'' option.
842b15cb3dSCy SchubertThis option takes a string argument.
852b15cb3dSCy Schubert
862b15cb3dSCy Schubert@noindent
872b15cb3dSCy SchubertThis option has some usage constraints.  It:
882b15cb3dSCy Schubert@itemize @bullet
892b15cb3dSCy Schubert@item
902b15cb3dSCy Schubertmay appear an unlimited number of times.
912b15cb3dSCy Schubert@end itemize
922b15cb3dSCy Schubert
932b15cb3dSCy Schubert        By default the peer_summary plots are not generated. Use this option to
942b15cb3dSCy Schubert        specify list of peers if you want to generate plots for them.
952b15cb3dSCy Schubert@node plot_summary plot-term
962b15cb3dSCy Schubert@subsection plot-term option
972b15cb3dSCy Schubert@cindex plot_summary-plot-term
982b15cb3dSCy Schubert
992b15cb3dSCy SchubertThis is the ``gnuplot terminal'' option.
1002b15cb3dSCy SchubertThis option takes a string argument.
1012b15cb3dSCy Schubert        This is string is passed directly to the @code{gnuplot set terminal}
1022b15cb3dSCy Schubert        command.  Default is @code{x11} if @code{DISPLAY} is set and
1032b15cb3dSCy Schubert        @code{dumb} is it's not'. See output from @code(gnuplot -e "set
104e27abb66SXin LI        terminal") for the list of available options.
1052b15cb3dSCy Schubert@node plot_summary output-file
1062b15cb3dSCy Schubert@subsection output-file option
1072b15cb3dSCy Schubert@cindex plot_summary-output-file
1082b15cb3dSCy Schubert
1092b15cb3dSCy SchubertThis is the ``output file'' option.
1102b15cb3dSCy SchubertThis option takes a str argument.
1112b15cb3dSCy Schubert        Output file for @code{gnuplot}, default to stdout.
1122b15cb3dSCy Schubert@node plot_summary exit status
1132b15cb3dSCy Schubert@subsection plot_summary exit status
1142b15cb3dSCy Schubert
1152b15cb3dSCy SchubertOne of the following exit values will be returned:
1162b15cb3dSCy Schubert@table @samp
1172b15cb3dSCy Schubert@item 0 (EXIT_SUCCESS)
1182b15cb3dSCy SchubertSuccessful program execution.
1192b15cb3dSCy Schubert@item 1 (EXIT_FAILURE)
1202b15cb3dSCy SchubertThe operation failed or the command syntax was not valid.
1212b15cb3dSCy Schubert@end table
122