1RRDLASTUPDATE(1) rrdtool RRDLASTUPDATE(1)
2
3
4
6 rrdlastupdate - Return the most recent update to an RRD
7
9 rrdtool lastupdate filename [--daemon address]
10
12 The lastupdate function returns the UNIX timestamp and the value stored
13 for each datum in the most recent update of an RRD.
14
15 filename
16 The name of the RRD that contains the data.
17
18 --daemon address
19 Address of the rrdcached daemon. If specified, a "flush"
20 command is sent to the server before reading the RRD files.
21 This allows rrdtool to return fresh data even if the daemon is
22 configured to cache values for a long time. For a list of
23 accepted formats, see the -l option in the rrdcached manual.
24
25 rrdtool lastupdate --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd
26
28 The following environment variables may be used to change the behavior
29 of "rrdtool lastupdate":
30
31 RRDCACHED_ADDRESS
32 If this environment variable is set it will have the same effect as
33 specifying the "--daemon" option on the command line. If both are
34 present, the command line argument takes precedence.
35
37 Andy Riebs <andy.riebs@hp.com>
38
39
40
411.4.8 2013-05-23 RRDLASTUPDATE(1)