1RRDINFO(1)                          rrdtool                         RRDINFO(1)
2
3
4

NAME

6       rrdinfo - extract header information from an RRD
7

SYNOPSIS

9       rrdtool info filename [--daemon|-d address [--noflush|-F]]
10

DESCRIPTION

12       The info function prints the header information from an RRD in a
13       parsing friendly format.
14
15       Check rrdcreate if you are uncertain about the meaning of the
16       individual keys.
17
18       filename
19               The name of the RRD you want to examine.
20
21       --daemon|-d address
22               Address of the rrdcached daemon. If specified, a "flush"
23               command is sent to the server before reading the RRD files.
24               This allows rrdtool to return fresh data even if the daemon is
25               configured to cache values for a long time.  For a list of
26               accepted formats, see the -l option in the rrdcached manual.
27
28                rrdtool info --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd
29
30       --noflush|-F
31               Omit the "flush" command usually sent to the daemon prior to
32               retrieving the data.  If all you are interested in is the RRD
33               structure, and not the last update time or current values, then
34               this will improve efficiency.
35

EXAMPLE

37       This is the output generated by running info on a simple RRD which
38       contains two data sources and one RRA. Note that the number after the
39       last_update keyword is in seconds since 1970. The string NaN stands for
40       *UNKNOWN* data. In the example it means that this RRD has neither
41       minimum nor maximum values defined for either of its data sources.
42
43        filename = "random.rrd"
44        rrd_version = "0001"
45        step = 300
46        last_update = 955892996
47        header_size = 2872
48        ds[a].type = "GAUGE"
49        ds[a].minimal_heartbeat = 600
50        ds[a].min = NaN
51        ds[a].max = NaN
52        ds[a].last_ds = "UNKN"
53        ds[a].value = 2.1824421548e+04
54        ds[a].unknown_sec = 0
55        ds[b].type = "GAUGE"
56        ds[b].minimal_heartbeat = 600
57        ds[b].min = NaN
58        ds[b].max = NaN
59        ds[b].last_ds = "UNKN"
60        ds[b].value = 3.9620838224e+03
61        ds[b].unknown_sec = 0
62        rra[0].cf = "AVERAGE"
63        rra[0].pdp_per_row = 1
64        rra[0].cdp_prep[0].value = nan
65        rra[0].cdp_prep[0].unknown_datapoints = 0
66        rra[0].cdp_prep[1].value = nan
67        rra[0].cdp_prep[1].unknown_datapoints = 0
68

ENVIRONMENT VARIABLES

70       The following environment variables may be used to change the behavior
71       of "rrdtool info":
72
73       RRDCACHED_ADDRESS
74           If this environment variable is set it will have the same effect as
75           specifying the "--daemon" option on the command line. If both are
76           present, the command line argument takes precedence.
77

AUTHOR

79       Tobias Oetiker <tobi@oetiker.ch>
80
81
82
831.7.1                             2019-02-04                        RRDINFO(1)
Impressum