Code

control: Updated standards-version to 3.9.5 -- no changes.
[pkg-rrdtool.git] / doc / rrdflushcached.pod
1 =head1 NAME
3 rrdflushcached - Flush the values for a spcific RRD file from memory.
5 =head1 SYNOPSIS
7 B<rrdtool> B<flushcached>
8 S<[B<--daemon> I<address>]>
9 I<filename> [I<filename> ...]
11 =head1 DESCRIPTION
13 The B<flushcached> function connects to L<rrdcached>, the RRD caching daemon,
14 and issues a "flush" command for the given files. The daemon will put the
15 files to the head of the update queue so they are written "soon". The
16 status will be returned only after the files' pending updates have been
17 written to disk.
19 =over 8
21 =item I<filename>
23 The name(s) of the B<RRD> file(s) that are to be written to disk.
25 =item B<--daemon> I<address>
27 Address of the L<rrdcached> daemon. If not specified, the
28 RRDCACHED_ADDRESS environment variable must be set (see below).  For a
29 list of accepted formats, see the B<-l> option in the L<rrdcached>
30 manual.
32  rrdtool flush --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd
34 =back
36 =head1 ENVIRONMENT VARIABLES
38 The following environment variables may be used to change the behavior of
39 C<rrdtoolE<nbsp>flushcached>:
41 =over 4
43 =item B<RRDCACHED_ADDRESS>
45 If this environment variable is set it will have the same effect as specifying
46 the C<--daemon> option on the command line. If both are present, the command
47 line argument takes precedence.
49 =back
51 =head1 AUTHOR
53 Florian Forster E<lt>octoE<nbsp>atE<nbsp>verplant.orgE<gt>