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

« back to all changes in this revision

Viewing changes to doc/rrdfetch.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:
29
29
                <li><a href="#time_specification_examples">TIME SPECIFICATION EXAMPLES</a></li>
30
30
        </ul>
31
31
 
 
32
        <li><a href="#environment_variables">ENVIRONMENT VARIABLES</a></li>
32
33
        <li><a href="#author">AUTHOR</a></li>
33
34
</ul>
34
35
 
49
50
<p><strong>rrdtool</strong> <strong>fetch</strong> <em>filename</em> <em>CF</em>
50
51
[<strong>--resolution</strong>|<strong>-r</strong>&nbsp;<em>resolution</em>]
51
52
[<strong>--start</strong>|<strong>-s</strong>&nbsp;<em>start</em>]
52
 
[<strong>--end</strong>|<strong>-e</strong>&nbsp;<em>end</em>]</p>
 
53
[<strong>--end</strong>|<strong>-e</strong>&nbsp;<em>end</em>]
 
54
[<strong>--daemon</strong>&nbsp;<em>address</em>]</p>
53
55
<p>
54
56
</p>
55
57
<hr />
94
96
TIME SPECIFICATION section for a detailed explanation of how to
95
97
specify the end time.</p>
96
98
</dd>
 
99
<dt><strong><a name="daemon_address" class="item"><strong>--daemon</strong> <em>address</em></a></strong></dt>
 
100
 
 
101
<dd>
 
102
<p>Address of the <a href="././rrdcached.html">the rrdcached manpage</a> daemon. If specified, a <code>flush</code> command is sent
 
103
to the server before reading the RRD files. This allows <strong>rrdtool</strong> to return
 
104
fresh data even if the daemon is configured to cache values for a long time.
 
105
For a list of accepted formats, see the <strong>-l</strong> option in the <a href="././rrdcached.html">the rrdcached manpage</a> manual.</p>
 
106
<pre>
 
107
 rrdtool fetch --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd AVERAGE</pre>
 
108
</dd>
97
109
</dl>
98
110
<p>
99
111
</p>
269
281
<p>
270
282
</p>
271
283
<hr />
 
284
<h1><a name="environment_variables">ENVIRONMENT VARIABLES</a></h1>
 
285
<p>The following environment variables may be used to change the behavior of
 
286
<code>rrdtoolfetch</code>:</p>
 
287
<dl>
 
288
<dt><strong><a name="rrdcached_address" class="item"><strong>RRDCACHED_ADDRESS</strong></a></strong></dt>
 
289
 
 
290
<dd>
 
291
<p>If this environment variable is set it will have the same effect as specifying
 
292
the <code>--daemon</code> option on the command line. If both are present, the command
 
293
line argument takes precedence.</p>
 
294
</dd>
 
295
</dl>
 
296
<p>
 
297
</p>
 
298
<hr />
272
299
<h1><a name="author">AUTHOR</a></h1>
273
300
<p>Tobias Oetiker &lt;<a href="mailto:tobi@oetiker.ch">tobi@oetiker.ch</a>&gt;</p>
274
301