xref: /freebsd-src/contrib/ntp/scripts/invoke-plot_summary.texi (revision 2b15cb3d0922bd70ea592f0da9b4a5b167f4d53f)
1*2b15cb3dSCy Schubert@node plot_summary Invocation
2*2b15cb3dSCy Schubert@section Invoking plot_summary
3*2b15cb3dSCy Schubert@pindex plot_summary
4*2b15cb3dSCy Schubert@cindex plot statistics generated by summary script
5*2b15cb3dSCy Schubert@ignore
6*2b15cb3dSCy Schubert#
7*2b15cb3dSCy Schubert# EDIT THIS FILE WITH CAUTION  (invoke-plot_summary.texi)
8*2b15cb3dSCy Schubert#
9*2b15cb3dSCy Schubert# It has been AutoGen-ed  February  4, 2015 at 02:37:53 AM by AutoGen 5.18.5pre4
10*2b15cb3dSCy Schubert# From the definitions    plot_summary-opts.def
11*2b15cb3dSCy Schubert# and the template file   agtexi-cmd.tpl
12*2b15cb3dSCy Schubert@end ignore
13*2b15cb3dSCy Schubert
14*2b15cb3dSCy Schubert
15*2b15cb3dSCy SchubertThis section was generated by @strong{AutoGen},
16*2b15cb3dSCy Schubertusing the @code{agtexi-cmd} template and the option descriptions for the @code{plot_summary} program.
17*2b15cb3dSCy Schubert
18*2b15cb3dSCy Schubert@menu
19*2b15cb3dSCy Schubert* plot_summary usage::                  plot_summary help/usage (@option{--help})
20*2b15cb3dSCy Schubert* plot_summary directory::              directory option
21*2b15cb3dSCy Schubert* plot_summary identifier::             identifier option
22*2b15cb3dSCy Schubert* plot_summary peer::                   peer option
23*2b15cb3dSCy Schubert* plot_summary plot-term::              plot-term option
24*2b15cb3dSCy Schubert* plot_summary output-file::            output-file option
25*2b15cb3dSCy Schubert* plot_summary exit status::            exit status
26*2b15cb3dSCy Schubert@end menu
27*2b15cb3dSCy Schubert
28*2b15cb3dSCy Schubert@node plot_summary usage
29*2b15cb3dSCy Schubert@subsection plot_summary help/usage (@option{--help})
30*2b15cb3dSCy Schubert@cindex plot_summary help
31*2b15cb3dSCy Schubert
32*2b15cb3dSCy SchubertThis is the automatically generated usage text for plot_summary.
33*2b15cb3dSCy Schubert
34*2b15cb3dSCy SchubertThe text printed is the same whether selected with the @code{help} option
35*2b15cb3dSCy Schubert(@option{--help}) or the @code{more-help} option (@option{--more-help}).  @code{more-help} will print
36*2b15cb3dSCy Schubertthe usage text by passing it through a pager program.
37*2b15cb3dSCy Schubert@code{more-help} is disabled on platforms without a working
38*2b15cb3dSCy Schubert@code{fork(2)} function.  The @code{PAGER} environment variable is
39*2b15cb3dSCy Schubertused to select the program, defaulting to @file{more}.  Both will exit
40*2b15cb3dSCy Schubertwith a status code of 0.
41*2b15cb3dSCy Schubert
42*2b15cb3dSCy Schubert@exampleindent 0
43*2b15cb3dSCy Schubert@example
44*2b15cb3dSCy Schubertplot_summary - plot statistics generated by summary script - Ver. 4.2.8p1
45*2b15cb3dSCy SchubertUSAGE: plot_summary [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]...
46*2b15cb3dSCy Schubert
47*2b15cb3dSCy Schubert        --directory=str          Where the summary files are
48*2b15cb3dSCy Schubert        --identifier=str         Origin of the data
49*2b15cb3dSCy Schubert        --offset-limit=float     Limit of absolute offset
50*2b15cb3dSCy Schubert        --peer=str               Peers to generate plots for
51*2b15cb3dSCy Schubert                                   - may appear multiple times
52*2b15cb3dSCy Schubert        --plot-term=str          Gnuplot terminal
53*2b15cb3dSCy Schubert        --output-file=str        Output file
54*2b15cb3dSCy Schubert        --dont-wait              Don't wait for keystroke between plots
55*2b15cb3dSCy Schubert    -?, --help                   Display usage information and exit
56*2b15cb3dSCy Schubert        --more-help              Pass the extended usage text through a pager
57*2b15cb3dSCy Schubert
58*2b15cb3dSCy SchubertOptions are specified by doubled hyphens and their name or by a single
59*2b15cb3dSCy Schuberthyphen and the flag character.
60*2b15cb3dSCy Schubert@end example
61*2b15cb3dSCy Schubert@exampleindent 4
62*2b15cb3dSCy Schubert
63*2b15cb3dSCy Schubert@node plot_summary directory
64*2b15cb3dSCy Schubert@subsection directory option
65*2b15cb3dSCy Schubert@cindex plot_summary-directory
66*2b15cb3dSCy Schubert
67*2b15cb3dSCy SchubertThis is the ``where the summary files are'' option.
68*2b15cb3dSCy SchubertThis option takes a string argument.
69*2b15cb3dSCy Schubert        The directory where the @code{plot_summary} will search for the
70*2b15cb3dSCy Schubert        *_summary files generated by @code{summary} script.
71*2b15cb3dSCy Schubert@node plot_summary identifier
72*2b15cb3dSCy Schubert@subsection identifier option
73*2b15cb3dSCy Schubert@cindex plot_summary-identifier
74*2b15cb3dSCy Schubert
75*2b15cb3dSCy SchubertThis is the ``origin of the data'' option.
76*2b15cb3dSCy SchubertThis option takes a string argument.
77*2b15cb3dSCy Schubert        Where does the plotted data come from, default to string "host" plus
78*2b15cb3dSCy Schubert        current hostname
79*2b15cb3dSCy Schubert@node plot_summary peer
80*2b15cb3dSCy Schubert@subsection peer option
81*2b15cb3dSCy Schubert@cindex plot_summary-peer
82*2b15cb3dSCy Schubert
83*2b15cb3dSCy SchubertThis is the ``peers to generate plots for'' option.
84*2b15cb3dSCy SchubertThis option takes a string argument.
85*2b15cb3dSCy Schubert
86*2b15cb3dSCy Schubert@noindent
87*2b15cb3dSCy SchubertThis option has some usage constraints.  It:
88*2b15cb3dSCy Schubert@itemize @bullet
89*2b15cb3dSCy Schubert@item
90*2b15cb3dSCy Schubertmay appear an unlimited number of times.
91*2b15cb3dSCy Schubert@end itemize
92*2b15cb3dSCy Schubert
93*2b15cb3dSCy Schubert        By default the peer_summary plots are not generated. Use this option to
94*2b15cb3dSCy Schubert        specify list of peers if you want to generate plots for them.
95*2b15cb3dSCy Schubert@node plot_summary plot-term
96*2b15cb3dSCy Schubert@subsection plot-term option
97*2b15cb3dSCy Schubert@cindex plot_summary-plot-term
98*2b15cb3dSCy Schubert
99*2b15cb3dSCy SchubertThis is the ``gnuplot terminal'' option.
100*2b15cb3dSCy SchubertThis option takes a string argument.
101*2b15cb3dSCy Schubert        This is string is passed directly to the @code{gnuplot set terminal}
102*2b15cb3dSCy Schubert        command.  Default is @code{x11} if @code{DISPLAY} is set and
103*2b15cb3dSCy Schubert        @code{dumb} is it's not'. See output from @code(gnuplot -e "set
104*2b15cb3dSCy Schubert        terminal") for the list of avalaible options.
105*2b15cb3dSCy Schubert@node plot_summary output-file
106*2b15cb3dSCy Schubert@subsection output-file option
107*2b15cb3dSCy Schubert@cindex plot_summary-output-file
108*2b15cb3dSCy Schubert
109*2b15cb3dSCy SchubertThis is the ``output file'' option.
110*2b15cb3dSCy SchubertThis option takes a str argument.
111*2b15cb3dSCy Schubert        Output file for @code{gnuplot}, default to stdout.
112*2b15cb3dSCy Schubert@node plot_summary exit status
113*2b15cb3dSCy Schubert@subsection plot_summary exit status
114*2b15cb3dSCy Schubert
115*2b15cb3dSCy SchubertOne of the following exit values will be returned:
116*2b15cb3dSCy Schubert@table @samp
117*2b15cb3dSCy Schubert@item 0 (EXIT_SUCCESS)
118*2b15cb3dSCy SchubertSuccessful program execution.
119*2b15cb3dSCy Schubert@item 1 (EXIT_FAILURE)
120*2b15cb3dSCy SchubertThe operation failed or the command syntax was not valid.
121*2b15cb3dSCy Schubert@end table
122