From 6e90bddc06b0b88e385cca4e98fe4c70c7837808 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 15 Jul 2008 20:02:43 +0200 Subject: [PATCH] rrdflush(1): Added a manual page for the `flush' command. --- doc/Makefile.am | 4 ++-- doc/rrdflush.pod | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 doc/rrdflush.pod diff --git a/doc/Makefile.am b/doc/Makefile.am index 05d637d..8e52084 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -10,8 +10,8 @@ CLEANFILES = *.1 *.html *.txt *-dircache RRD?.pod *.pdf *~ core *itemcache *.rej POD = bin_dec_hex.pod rrddump.pod rrdgraph_examples.pod rrdrestore.pod rrdupdate.pod \ cdeftutorial.pod rrdfetch.pod rrdgraph_graph.pod rrdthreads.pod rrdxport.pod \ - rpntutorial.pod rrdfirst.pod rrdgraph_rpn.pod rrdtool.pod rrdcached.pod \ - rrd-beginners.pod rrdinfo.pod rrdtune.pod rrdbuild.pod \ + rpntutorial.pod rrdfirst.pod rrdgraph_rpn.pod rrdtool.pod rrdcached.pod \ + rrd-beginners.pod rrdinfo.pod rrdtune.pod rrdbuild.pod rrdflush.pod \ rrdcgi.pod rrdgraph.pod rrdlast.pod rrdlastupdate.pod \ rrdcreate.pod rrdgraph_data.pod rrdresize.pod rrdtutorial.pod diff --git a/doc/rrdflush.pod b/doc/rrdflush.pod new file mode 100644 index 0000000..031c29a --- /dev/null +++ b/doc/rrdflush.pod @@ -0,0 +1,54 @@ +=head1 NAME + +rrdflush - Flush the values for a spcific RRD file from memory. + +=head1 SYNOPSIS + +B B I +S<[B<--daemon> I
]> + +=head1 DESCRIPTION + +The B function connects to L, the RRD caching daemon, and +issues a "flush" command for the given file. The daemon will put this file to +the head of the update queue so it is written "soon". The status will be +returned after the node has been B by the update thread. By the time +execution of this command ends it is very likely that the update thread has +just updated the requested file, though this is not guaranteed. + +=over 8 + +=item I + +The name of the B that is 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). To specify a UNIX domain socket +use the prefix C, see example below. Other addresses are interpreted as +normal network addresses, i.Ee. IPv4 or IPv6 addresses in most cases. + + 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 +Cflush>: + +=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 + -- 2.11.0