diff --git a/doc/rrdlastupdate.txt b/doc/rrdlastupdate.txt
index 01afb4a8251ec059c210a0c86595ecc736050b38..4228a0ca51bd3b0aca3b1ca02646e3ae0b0b6b91 100644 (file)
--- a/doc/rrdlastupdate.txt
+++ b/doc/rrdlastupdate.txt
rrdlastupdate - Return the most recent update to an RRD
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
- 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
+ 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]
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
The l\bla\bas\bst\btu\bup\bpd\bda\bat\bte\be function returns the UNIX timestamp and the value stored
_\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 lastupdate --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 lastupdate":
+
+ 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
Andy Riebs <andy.riebs@hp.com>
-1.3.5 2008-03-15 RRDLASTUPDATE(1)
+1.4.8 2013-05-23 RRDLASTUPDATE(1)