X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=doc%2Frrddump.html;h=1d24ac357c5d43cedb93d0de2bc85d38e67a602a;hb=e65c0007d4220bdd32cba826d8adb463bf32afd6;hp=2283122eb90f49c424f7a26cafb441db9a26e832;hpb=ecfac614b914cef110a81ac665997a9b186da500;p=pkg-rrdtool.git diff --git a/doc/rrddump.html b/doc/rrddump.html index 2283122..1d24ac3 100644 --- a/doc/rrddump.html +++ b/doc/rrddump.html @@ -9,8 +9,10 @@ -

+ +
+

+ + +

@@ -32,9 +39,11 @@


SYNOPSIS

-

rrdtool dump filename.rrd > filename.xml

-

or

-

rrdtool dump filename.rrd filename.xml

+

rrdtool dump filename.rrd [filename.xml] +[--header|-h {none,xsd,dtd}] +[--no-header] +[--daemon address] +> filename.xml


@@ -46,19 +55,40 @@ files from one computer architecture to another as well to manipulate the contents of an RRD file in a somewhat more convenient manner.

-
filename.rrd +
filename.rrd

The name of the RRD you want to dump.

- -
filename.xml +
filename.xml

The (optional) filename that you want to write the XML output to. If not specified, the XML will be printed to stdout.

- +
--header|-h {none,xsd,dtd}
+ +
+

By default RRDtool will add a dtd header to the xml file. Here +you can customize this to and xsd header or no header at all.

+
+
--no-header
+ +
+

A shortcut for --header=none.

+

If you want to restore the dump with RRDtool 1.2 you should use the +--no-header option since 1.2 can not deal with xml headers.

+
+
--daemon address
+ +
+

Address of the the rrdcached manpage daemon. If specified, a flush command is sent +to the server before reading the RRD files. This allows rrdtool to return +fresh data even if the daemon is configured to cache values for a long time. +For a list of accepted formats, see the -l option in the the rrdcached manpage manual.

+
+ rrdtool dump --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd
+

@@ -81,6 +111,21 @@ to export the data to XML format.


+

ENVIRONMENT VARIABLES

+

The following environment variables may be used to change the behavior of +rrdtooldump:

+
+
RRDCACHED_ADDRESS
+ +
+

If this environment variable is set it will have the same effect as specifying +the --daemon option on the command line. If both are present, the command +line argument takes precedence.

+
+
+

+

+

AUTHOR

Tobias Oetiker <tobi@oetiker.ch>