{
    "content": [
        {
            "type": "text",
            "text": "# rrdinfo(1) (man)\n\n**Summary:** rrdinfo - extract header information from an RRD\n\n**Synopsis:** rrdtool info filename [--daemon|-d address [--noflush|-F]]\n\n## Examples\n\n- `This is the output generated by running info on a simple RRD which contains two data sources`\n- `and one RRA. Note that the number after the lastupdate keyword is in seconds since 1970. The`\n- `string NaN stands for *UNKNOWN* data. In the example it means that this RRD has neither`\n- `minimum nor maximum values defined for either of its data sources.`\n- `filename = \"random.rrd\"`\n- `rrdversion = \"0001\"`\n- `step = 300`\n- `lastupdate = 955892996`\n- `headersize = 2872`\n- `ds[a].type = \"GAUGE\"`\n- `ds[a].minimalheartbeat = 600`\n- `ds[a].min = NaN`\n- `ds[a].max = NaN`\n- `ds[a].lastds = \"UNKN\"`\n- `ds[a].value = 2.1824421548e+04`\n- `ds[a].unknownsec = 0`\n- `ds[b].type = \"GAUGE\"`\n- `ds[b].minimalheartbeat = 600`\n- `ds[b].min = NaN`\n- `ds[b].max = NaN`\n- `ds[b].lastds = \"UNKN\"`\n- `ds[b].value = 3.9620838224e+03`\n- `ds[b].unknownsec = 0`\n- `rra[0].cf = \"AVERAGE\"`\n- `rra[0].pdpperrow = 1`\n- `rra[0].cdpprep[0].value = nan`\n- `rra[0].cdpprep[0].unknowndatapoints = 0`\n- `rra[0].cdpprep[1].value = nan`\n- `rra[0].cdpprep[1].unknowndatapoints = 0`\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (20 lines)\n- **EXAMPLE** (31 lines)\n- **ENVIRONMENT VARIABLES** (7 lines)\n- **AUTHOR** (5 lines)\n\n## Full Content\n\n### NAME\n\nrrdinfo - extract header information from an RRD\n\n### SYNOPSIS\n\nrrdtool info filename [--daemon|-d address [--noflush|-F]]\n\n### DESCRIPTION\n\nThe info function prints the header information from an RRD in a parsing friendly format.\n\nCheck rrdcreate if you are uncertain about the meaning of the individual keys.\n\nfilename\nThe name of the RRD you want to examine.\n\n--daemon|-d address\nAddress of the rrdcached daemon. If specified, a \"flush\" command is sent to the\nserver before reading the RRD files. This allows rrdtool to return fresh data even if\nthe daemon is configured to cache values for a long time.  For a list of accepted\nformats, see the -l option in the rrdcached manual.\n\nrrdtool info --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd\n\n--noflush|-F\nOmit the \"flush\" command usually sent to the daemon prior to retrieving the data.  If\nall you are interested in is the RRD structure, and not the last update time or\ncurrent values, then this will improve efficiency.\n\n### EXAMPLE\n\nThis is the output generated by running info on a simple RRD which contains two data sources\nand one RRA. Note that the number after the lastupdate keyword is in seconds since 1970. The\nstring NaN stands for *UNKNOWN* data. In the example it means that this RRD has neither\nminimum nor maximum values defined for either of its data sources.\n\nfilename = \"random.rrd\"\nrrdversion = \"0001\"\nstep = 300\nlastupdate = 955892996\nheadersize = 2872\nds[a].type = \"GAUGE\"\nds[a].minimalheartbeat = 600\nds[a].min = NaN\nds[a].max = NaN\nds[a].lastds = \"UNKN\"\nds[a].value = 2.1824421548e+04\nds[a].unknownsec = 0\nds[b].type = \"GAUGE\"\nds[b].minimalheartbeat = 600\nds[b].min = NaN\nds[b].max = NaN\nds[b].lastds = \"UNKN\"\nds[b].value = 3.9620838224e+03\nds[b].unknownsec = 0\nrra[0].cf = \"AVERAGE\"\nrra[0].pdpperrow = 1\nrra[0].cdpprep[0].value = nan\nrra[0].cdpprep[0].unknowndatapoints = 0\nrra[0].cdpprep[1].value = nan\nrra[0].cdpprep[1].unknowndatapoints = 0\n\n### ENVIRONMENT VARIABLES\n\nThe following environment variables may be used to change the behavior of \"rrdtool info\":\n\nRRDCACHEDADDRESS\nIf this environment variable is set it will have the same effect as specifying the\n\"--daemon\" option on the command line. If both are present, the command line argument\ntakes precedence.\n\n### AUTHOR\n\nTobias Oetiker <tobi@oetiker.ch>\n\n\n\n1.7.2                                        2022-03-17                                   RRDINFO(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "rrdinfo",
        "section": "1",
        "mode": "man",
        "summary": "rrdinfo - extract header information from an RRD",
        "synopsis": "rrdtool info filename [--daemon|-d address [--noflush|-F]]",
        "flags": [],
        "examples": [
            "This is the output generated by running info on a simple RRD which contains two data sources",
            "and one RRA. Note that the number after the lastupdate keyword is in seconds since 1970. The",
            "string NaN stands for *UNKNOWN* data. In the example it means that this RRD has neither",
            "minimum nor maximum values defined for either of its data sources.",
            "filename = \"random.rrd\"",
            "rrdversion = \"0001\"",
            "step = 300",
            "lastupdate = 955892996",
            "headersize = 2872",
            "ds[a].type = \"GAUGE\"",
            "ds[a].minimalheartbeat = 600",
            "ds[a].min = NaN",
            "ds[a].max = NaN",
            "ds[a].lastds = \"UNKN\"",
            "ds[a].value = 2.1824421548e+04",
            "ds[a].unknownsec = 0",
            "ds[b].type = \"GAUGE\"",
            "ds[b].minimalheartbeat = 600",
            "ds[b].min = NaN",
            "ds[b].max = NaN",
            "ds[b].lastds = \"UNKN\"",
            "ds[b].value = 3.9620838224e+03",
            "ds[b].unknownsec = 0",
            "rra[0].cf = \"AVERAGE\"",
            "rra[0].pdpperrow = 1",
            "rra[0].cdpprep[0].value = nan",
            "rra[0].cdpprep[0].unknowndatapoints = 0",
            "rra[0].cdpprep[1].value = nan",
            "rra[0].cdpprep[1].unknowndatapoints = 0"
        ],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 20,
                "subsections": []
            },
            {
                "name": "EXAMPLE",
                "lines": 31,
                "subsections": []
            },
            {
                "name": "ENVIRONMENT VARIABLES",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}