{
    "mode": "man",
    "parameter": "rrdinfo",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/rrdinfo/1/json",
    "generated": "2026-05-30T05:15:15Z",
    "synopsis": "rrdtool info filename [--daemon|-d address [--noflush|-F]]",
    "sections": {
        "NAME": {
            "content": "rrdinfo - extract header information from an RRD\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "rrdtool info filename [--daemon|-d address [--noflush|-F]]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The 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",
            "subsections": []
        },
        "EXAMPLE": {
            "content": "This 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",
            "subsections": []
        },
        "ENVIRONMENT VARIABLES": {
            "content": "The 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",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Tobias Oetiker <tobi@oetiker.ch>\n\n\n\n1.7.2                                        2022-03-17                                   RRDINFO(1)",
            "subsections": []
        }
    },
    "summary": "rrdinfo - extract header information from an RRD",
    "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": []
}