/usr/share/doc/rrdtool/html/rrdlast.html is in rrdtool 1.4.7-2ubuntu5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | <?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>rrdlast</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@localhost" />
</head>
<body style="background-color: white">
<h1 id="NAME">NAME</h1>
<p>rrdlast - Return the date of the last data sample in an RRD</p>
<h1 id="SYNOPSIS">SYNOPSIS</h1>
<p><b>rrdtool</b> <b>last</b> <i>filename</i> <span style="white-space: nowrap;">[<b>--daemon</b> <i>address</i>]</span></p>
<h1 id="DESCRIPTION">DESCRIPTION</h1>
<p>The <b>last</b> function returns the UNIX timestamp of the most recent update of the RRD.</p>
<dl>
<dt id="filename"><i>filename</i></dt>
<dd>
<p>The name of the <b>RRD</b> that contains the data.</p>
</dd>
<dt id="daemon-address"><b>--daemon</b> <i>address</i></dt>
<dd>
<p>Address of the <a href="./rrdcached.html">rrdcached</a> daemon. If specified, a <code>flush</code> command is sent to the server before reading the RRD files. This allows <b>rrdtool</b> 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</b> option in the <a href="./rrdcached.html">rrdcached</a> manual.</p>
<pre><code> rrdtool last --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd</code></pre>
</dd>
</dl>
<h1 id="ENVIRONMENT-VARIABLES">ENVIRONMENT VARIABLES</h1>
<p>The following environment variables may be used to change the behavior of <code>rrdtool last</code>:</p>
<dl>
<dt id="RRDCACHED_ADDRESS"><b>RRDCACHED_ADDRESS</b></dt>
<dd>
<p>If this environment variable is set it will have the same effect as specifying the <code>--daemon</code> option on the command line. If both are present, the command line argument takes precedence.</p>
</dd>
</dl>
<h1 id="AUTHOR">AUTHOR</h1>
<p>Russ Wright <rwwright@home.com></p>
</body>
</html>
|