X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=doc%2Frrdflushcached.pod;fp=doc%2Frrdflushcached.pod;h=3c1420179c54b88292974924efea40f8d68e9bf6;hb=ffa00ac697dccce18dca8880ca7a14066521ac5c;hp=0000000000000000000000000000000000000000;hpb=51c3d3fb997c22e1ee828470413f1e84989e1f6c;p=pkg-rrdtool.git diff --git a/doc/rrdflushcached.pod b/doc/rrdflushcached.pod new file mode 100644 index 0000000..3c14201 --- /dev/null +++ b/doc/rrdflushcached.pod @@ -0,0 +1,53 @@ +=head1 NAME + +rrdflush - Flush the values for a spcific RRD file from memory. + +=head1 SYNOPSIS + +B B +S<[B<--daemon> I
]> +I [I ...] + +=head1 DESCRIPTION + +The B function connects to L, 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. + +=over 8 + +=item I + +The name(s) of the B file(s) that are to be written to disk. + +=item B<--daemon> I
+ +Address of the L daemon. If not specified, the +RRDCACHED_ADDRESS environment variable must be set (see below). For a +list of accepted formats, see the B<-l> option in the L +manual. + + rrdtool flush --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd + +=back + +=head1 ENVIRONMENT VARIABLES + +The following environment variables may be used to change the behavior of +Cflushcached>: + +=over 4 + +=item B + +If this environment variable is set it will have the same effect as specifying +the C<--daemon> option on the command line. If both are present, the command +line argument takes precedence. + +=back + +=head1 AUTHOR + +Florian Forster EoctoEatEverplant.orgE