{
    "content": [
        {
            "type": "text",
            "text": "# rrdlast(1) (man)\n\n**Summary:** rrdlast - Return the date of the last data sample in an RRD\n\n**Synopsis:** rrdtool last filename [--daemon|-d address]\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (13 lines)\n- **ENVIRONMENT VARIABLES** (7 lines)\n- **AUTHOR** (6 lines)\n\n## Full Content\n\n### NAME\n\nrrdlast - Return the date of the last data sample in an RRD\n\n### SYNOPSIS\n\nrrdtool last filename [--daemon|-d address]\n\n### DESCRIPTION\n\nThe last function returns the UNIX timestamp of the most recent update of the RRD.\n\nfilename\nThe name of the RRD that contains the data.\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 last --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd\n\n### ENVIRONMENT VARIABLES\n\nThe following environment variables may be used to change the behavior of \"rrdtool last\":\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\nRuss Wright <rwwright@home.com> Daemon support added by Steve Shipway\n<steve@steveshipway.org>\n\n\n\n1.7.2                                        2022-03-17                                   RRDLAST(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "rrdlast",
        "section": "1",
        "mode": "man",
        "summary": "rrdlast - Return the date of the last data sample in an RRD",
        "synopsis": "rrdtool last filename [--daemon|-d address]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 13,
                "subsections": []
            },
            {
                "name": "ENVIRONMENT VARIABLES",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 6,
                "subsections": []
            }
        ]
    }
}