D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
share
/
doc
/
plesk-rrd
/
html
/
Filename :
rrdflushcached.html
back
Copy
<?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>rrdflushcached</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rev="made" href="mailto:root@localhost" /> </head> <body> <h1 id="NAME">NAME</h1> <p>rrdflushcached - Flush the values for a specific RRD file from memory.</p> <h1 id="SYNOPSIS">SYNOPSIS</h1> <p><b>rrdtool</b> <b>flushcached</b> <span style="white-space: nowrap;">[<b>--daemon</b>|<b>-d</b> <i>address</i>]</span> <i>filename</i> [<i>filename</i> ...]</p> <h1 id="DESCRIPTION">DESCRIPTION</h1> <p>The <b>flushcached</b> function connects to <a href="./rrdcached.html">rrdcached</a>, the RRD caching daemon, and issues a "flush" command for the given files. The daemon will put the files to the head of the update queue so they are written "soon". The status will be returned only after the files' pending updates have been written to disk.</p> <dl> <dt id="filename"><i>filename</i></dt> <dd> <p>The name(s) of the <b>RRD</b> file(s) that are to be written to disk.</p> </dd> <dt id="daemon--d-address"><b>--daemon</b>|<b>-d</b> <i>address</i></dt> <dd> <p>Address of the <a href="./rrdcached.html">rrdcached</a> daemon. If not specified, the RRDCACHED_ADDRESS environment variable must be set (see below). 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 flushcached --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 flushcached</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>Florian Forster <octo at verplant.org></p> </body> </html>