Code

Imported upstream version 1.4.8
[pkg-rrdtool.git] / doc / rrdlast.txt
1 RRDLAST(1)                          rrdtool                         RRDLAST(1)
5 N\bNA\bAM\bME\bE
6        rrdlast - Return the date of the last data sample in 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\bt _\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\bt function returns the UNIX timestamp of the most recent update
13        of the 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 last --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 last":
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        Russ Wright <rwwright@home.com>
41 1.4.8                             2013-05-23                        RRDLAST(1)