diff --git a/doc/rrdlast.txt b/doc/rrdlast.txt
index f9afc48ddae81c101e9ad1dbc5aa99b6f68b4b46..a7680d613bb329fdcf080629ad0c4479db88f6ad 100644 (file)
--- a/doc/rrdlast.txt
+++ b/doc/rrdlast.txt
rrdlast - Return the date of the last data sample in an RRD
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
- r\brr\brd\bdt\bto\boo\bol\bl l\bla\bas\bst\bt _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be
+ 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]
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
The l\bla\bas\bst\bt function returns the UNIX timestamp of the most recent update
_\bf_\bi_\bl_\be_\bn_\ba_\bm_\be
The name of the R\bRR\bRD\bD that contains the data.
+ -\b--\b-d\bda\bae\bem\bmo\bon\bn _\ba_\bd_\bd_\br_\be_\bs_\bs
+ Address of the rrdcached daemon. If specified, a "flush"
+ command is sent to the server before reading the RRD files.
+ This allows r\brr\brd\bdt\bto\boo\bol\bl to return fresh data even if the daemon is
+ configured to cache values for a long time. For a list of
+ accepted formats, see the -\b-l\bl option in the rrdcached manual.
+
+ rrdtool last --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd
+
+E\bEN\bNV\bVI\bIR\bRO\bON\bNM\bME\bEN\bNT\bT V\bVA\bAR\bRI\bIA\bAB\bBL\bLE\bES\bS
+ The following environment variables may be used to change the behavior
+ of "rrdtool last":
+
+ R\bRR\bRD\bDC\bCA\bAC\bCH\bHE\bED\bD_\b_A\bAD\bDD\bDR\bRE\bES\bSS\bS
+ If this environment variable is set it will have the same effect as
+ specifying the "--daemon" option on the command line. If both are
+ present, the command line argument takes precedence.
+
A\bAU\bUT\bTH\bHO\bOR\bR
Russ Wright <rwwright@home.com>
-1.3.1 2008-03-15 RRDLAST(1)
+1.3.999 2009-06-09 RRDLAST(1)