{
    "content": [
        {
            "type": "text",
            "text": "# RRDLAST(1) (man)\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\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **ENVIRONMENT VARIABLES**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\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": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "rrdlast - Return the date of the last data sample in an RRD\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "rrdtool last filename [--daemon|-d address]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The 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",
                "subsections": []
            },
            "ENVIRONMENT VARIABLES": {
                "content": "The 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",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Russ 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)",
                "subsections": []
            }
        }
    }
}