~ubuntu-branches/ubuntu/saucy/rrdtool/saucy-proposed

« back to all changes in this revision

Viewing changes to doc/rrdlastupdate.html

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2010-07-22 08:07:01 UTC
  • mfrom: (1.2.8 upstream) (3.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100722080701-k46mgdfz6euxwqsm
Tags: 1.4.3-1ubuntu1
* Merge from debian unstable, Remaining changes:
  - debian/control: Don't build against ruby1.9 as we don't want
    it in main.
* require libdbi >= 0.8.3 to prevent aborts when using dbi datasources

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
        <li><a href="#name">NAME</a></li>
21
21
        <li><a href="#synopsis">SYNOPSIS</a></li>
22
22
        <li><a href="#description">DESCRIPTION</a></li>
 
23
        <li><a href="#environment_variables">ENVIRONMENT VARIABLES</a></li>
23
24
        <li><a href="#author">AUTHOR</a></li>
24
25
</ul>
25
26
 
37
38
</p>
38
39
<hr />
39
40
<h1><a name="synopsis">SYNOPSIS</a></h1>
40
 
<p><strong>rrdtool</strong> <strong>lastupdate</strong> <em>filename</em></p>
 
41
<p><strong>rrdtool</strong> <strong>lastupdate</strong> <em>filename</em>
 
42
[<strong>--daemon</strong>&nbsp;<em>address</em>]</p>
41
43
<p>
42
44
</p>
43
45
<hr />
50
52
<dd>
51
53
<p>The name of the <strong>RRD</strong> that contains the data.</p>
52
54
</dd>
 
55
<dt><strong><a name="daemon_address" class="item"><strong>--daemon</strong> <em>address</em></a></strong></dt>
 
56
 
 
57
<dd>
 
58
<p>Address of the <a href="././rrdcached.html">the rrdcached manpage</a> daemon. If specified, a <code>flush</code> command is sent
 
59
to the server before reading the RRD files. This allows <strong>rrdtool</strong> to return
 
60
fresh data even if the daemon is configured to cache values for a long time.
 
61
For a list of accepted formats, see the <strong>-l</strong> option in the <a href="././rrdcached.html">the rrdcached manpage</a> manual.</p>
 
62
<pre>
 
63
 rrdtool lastupdate --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd</pre>
 
64
</dd>
 
65
</dl>
 
66
<p>
 
67
</p>
 
68
<hr />
 
69
<h1><a name="environment_variables">ENVIRONMENT VARIABLES</a></h1>
 
70
<p>The following environment variables may be used to change the behavior of
 
71
<code>rrdtoollastupdate</code>:</p>
 
72
<dl>
 
73
<dt><strong><a name="rrdcached_address" class="item"><strong>RRDCACHED_ADDRESS</strong></a></strong></dt>
 
74
 
 
75
<dd>
 
76
<p>If this environment variable is set it will have the same effect as specifying
 
77
the <code>--daemon</code> option on the command line. If both are present, the command
 
78
line argument takes precedence.</p>
 
79
</dd>
53
80
</dl>
54
81
<p>
55
82
</p>