xref: /netbsd-src/external/bsd/ntp/dist/scripts/invoke-plot_summary.texi (revision 897be3a4bac39d8b2e92077bf29f4a2e67d31983)
18585484eSchristos@node plot_summary Invocation
28585484eSchristos@section Invoking plot_summary
38585484eSchristos@pindex plot_summary
48585484eSchristos@cindex plot statistics generated by summary script
58585484eSchristos@ignore
68585484eSchristos#
78585484eSchristos# EDIT THIS FILE WITH CAUTION  (invoke-plot_summary.texi)
88585484eSchristos#
9*897be3a4Schristos# It has been AutoGen-ed  May 25, 2024 at 12:05:57 AM by AutoGen 5.18.16
108585484eSchristos# From the definitions    plot_summary-opts.def
118585484eSchristos# and the template file   agtexi-cmd.tpl
128585484eSchristos@end ignore
138585484eSchristos
148585484eSchristos
158585484eSchristosThis section was generated by @strong{AutoGen},
168585484eSchristosusing the @code{agtexi-cmd} template and the option descriptions for the @code{plot_summary} program.
178585484eSchristos
188585484eSchristos@menu
198585484eSchristos* plot_summary usage::                  plot_summary help/usage (@option{--help})
208585484eSchristos* plot_summary directory::              directory option
218585484eSchristos* plot_summary identifier::             identifier option
228585484eSchristos* plot_summary peer::                   peer option
238585484eSchristos* plot_summary plot-term::              plot-term option
248585484eSchristos* plot_summary output-file::            output-file option
258585484eSchristos* plot_summary exit status::            exit status
268585484eSchristos@end menu
278585484eSchristos
288585484eSchristos@node plot_summary usage
298585484eSchristos@subsection plot_summary help/usage (@option{--help})
308585484eSchristos@cindex plot_summary help
318585484eSchristos
328585484eSchristosThis is the automatically generated usage text for plot_summary.
338585484eSchristos
348585484eSchristosThe text printed is the same whether selected with the @code{help} option
358585484eSchristos(@option{--help}) or the @code{more-help} option (@option{--more-help}).  @code{more-help} will print
368585484eSchristosthe usage text by passing it through a pager program.
378585484eSchristos@code{more-help} is disabled on platforms without a working
388585484eSchristos@code{fork(2)} function.  The @code{PAGER} environment variable is
398585484eSchristosused to select the program, defaulting to @file{more}.  Both will exit
408585484eSchristoswith a status code of 0.
418585484eSchristos
428585484eSchristos@exampleindent 0
438585484eSchristos@example
44*897be3a4Schristosplot_summary - plot statistics generated by summary script - Ver. 4.2.8p18
458585484eSchristosUSAGE: plot_summary [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]...
468585484eSchristos
47b8ecfcfeSchristos        --directory=str          Where the summary files are
48b8ecfcfeSchristos        --identifier=str         Origin of the data
49b8ecfcfeSchristos        --offset-limit=float     Limit of absolute offset
50b8ecfcfeSchristos        --peer=str               Peers to generate plots for
518585484eSchristos                                   - may appear multiple times
52b8ecfcfeSchristos        --plot-term=str          Gnuplot terminal
53b8ecfcfeSchristos        --output-file=str        Output file
54b8ecfcfeSchristos        --dont-wait              Don't wait for keystroke between plots
558585484eSchristos    -?, --help                   Display usage information and exit
56b8ecfcfeSchristos        --more-help              Pass the extended usage text through a pager
578585484eSchristos
588585484eSchristosOptions are specified by doubled hyphens and their name or by a single
598585484eSchristoshyphen and the flag character.
608585484eSchristos@end example
618585484eSchristos@exampleindent 4
628585484eSchristos
638585484eSchristos@node plot_summary directory
648585484eSchristos@subsection directory option
658585484eSchristos@cindex plot_summary-directory
668585484eSchristos
678585484eSchristosThis is the ``where the summary files are'' option.
688585484eSchristosThis option takes a string argument.
698585484eSchristos        The directory where the @code{plot_summary} will search for the
708585484eSchristos        *_summary files generated by @code{summary} script.
718585484eSchristos@node plot_summary identifier
728585484eSchristos@subsection identifier option
738585484eSchristos@cindex plot_summary-identifier
748585484eSchristos
758585484eSchristosThis is the ``origin of the data'' option.
768585484eSchristosThis option takes a string argument.
778585484eSchristos        Where does the plotted data come from, default to string "host" plus
788585484eSchristos        current hostname
798585484eSchristos@node plot_summary peer
808585484eSchristos@subsection peer option
818585484eSchristos@cindex plot_summary-peer
828585484eSchristos
838585484eSchristosThis is the ``peers to generate plots for'' option.
848585484eSchristosThis option takes a string argument.
858585484eSchristos
868585484eSchristos@noindent
878585484eSchristosThis option has some usage constraints.  It:
888585484eSchristos@itemize @bullet
898585484eSchristos@item
908585484eSchristosmay appear an unlimited number of times.
918585484eSchristos@end itemize
928585484eSchristos
938585484eSchristos        By default the peer_summary plots are not generated. Use this option to
948585484eSchristos        specify list of peers if you want to generate plots for them.
958585484eSchristos@node plot_summary plot-term
968585484eSchristos@subsection plot-term option
978585484eSchristos@cindex plot_summary-plot-term
988585484eSchristos
998585484eSchristosThis is the ``gnuplot terminal'' option.
1008585484eSchristosThis option takes a string argument.
1018585484eSchristos        This is string is passed directly to the @code{gnuplot set terminal}
1028585484eSchristos        command.  Default is @code{x11} if @code{DISPLAY} is set and
1038585484eSchristos        @code{dumb} is it's not'. See output from @code(gnuplot -e "set
10442c29440Schristos        terminal") for the list of available options.
1058585484eSchristos@node plot_summary output-file
1068585484eSchristos@subsection output-file option
1078585484eSchristos@cindex plot_summary-output-file
1088585484eSchristos
1098585484eSchristosThis is the ``output file'' option.
1108585484eSchristosThis option takes a str argument.
1118585484eSchristos        Output file for @code{gnuplot}, default to stdout.
1128585484eSchristos@node plot_summary exit status
1138585484eSchristos@subsection plot_summary exit status
1148585484eSchristos
1158585484eSchristosOne of the following exit values will be returned:
1168585484eSchristos@table @samp
1178585484eSchristos@item 0 (EXIT_SUCCESS)
1188585484eSchristosSuccessful program execution.
1198585484eSchristos@item 1 (EXIT_FAILURE)
1208585484eSchristosThe operation failed or the command syntax was not valid.
1218585484eSchristos@end table
122