{
    "mode": "man",
    "parameter": "RRDLAST",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/RRDLAST/1/json",
    "generated": "2026-06-03T02:32:43Z",
    "synopsis": "rrdtool last filename [--daemon|-d address]",
    "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": []
        }
    },
    "summary": "rrdlast - Return the date of the last data sample in an RRD",
    "flags": [],
    "examples": [],
    "see_also": []
}