Code

Imported upstream version 1.4.8
[pkg-rrdtool.git] / doc / rrdlastupdate.txt
1 RRDLASTUPDATE(1)                    rrdtool                   RRDLASTUPDATE(1)
5 N\bNA\bAM\bME\bE
6        rrdlastupdate - Return the most recent update to an RRD
8 S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
9        r\brr\brd\bdt\bto\boo\bol\bl l\bla\bas\bst\btu\bup\bpd\bda\bat\bte\be _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be [-\b--\b-d\bda\bae\bem\bmo\bon\bn _\ba_\bd_\bd_\br_\be_\bs_\bs]
11 D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
12        The l\bla\bas\bst\btu\bup\bpd\bda\bat\bte\be function returns the UNIX timestamp and the value stored
13        for each datum in the most recent update of an RRD.
15        _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be
16                The name of the R\bRR\bRD\bD that contains the data.
18        -\b--\b-d\bda\bae\bem\bmo\bon\bn _\ba_\bd_\bd_\br_\be_\bs_\bs
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 r\brr\brd\bdt\bto\boo\bol\bl 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 -\b-l\bl option in the rrdcached manual.
25                 rrdtool lastupdate --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd
27 E\bEN\bNV\bVI\bIR\bRO\bON\bNM\bME\bEN\bNT\bT V\bVA\bAR\bRI\bIA\bAB\bBL\bLE\bES\bS
28        The following environment variables may be used to change the behavior
29        of "rrdtool lastupdate":
31        R\bRR\bRD\bDC\bCA\bAC\bCH\bHE\bED\bD_\b_A\bAD\bDD\bDR\bRE\bES\bSS\bS
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.
36 A\bAU\bUT\bTH\bHO\bOR\bR
37        Andy Riebs <andy.riebs@hp.com>
41 1.4.8                             2013-05-23                  RRDLASTUPDATE(1)