summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/scripts/plot_summary-opts.def
blob: 61f028bce4e6724775968f844e833b841c87fdda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/* -*- 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_;
};
OpenPOWER on IntegriCloud