Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cfetooldump(8) [debian man page]

CFETOOLDUMP(8)						User Contributed Perl Documentation					    CFETOOLDUMP(8)

NAME
cfetooldump - dump the contents of a database in XML format SYNOPSIS
cfetool dump name [--path|-p directory name] [--file|-f filename] [--daily|-d] [--weekly|-w] [--yearly|-y] [--verbose|-v] [--help|-h] DESCRIPTION
Prints the contents of the specified database in XML format, with comments for human readability. This format can be read by cfetool import. The -d, -w, and -y options specify which databases to include in the dump, and may be combined. If they are all omitted, the default is to only dump the weekly database. OPTIONS
--path|-p directory name Names the directory in which the database specified by name can be found. --file|-f filename Names a file to print the XML to. If this option is omitted, the XML will be printed to the standard output stream. --daily|-d Include the daily pattern database in the dump. --weekly|-w Include the weekly pattern database in the dump. --yearly|-y Include the yearly pattern database in the dump. --verbose|-v Print details of the command's execution to the standard output stream. When using this argument, it is recommended that you also pro- vide the -f argument, to avoid sharing the standard output stream. --help|-h Print a short help message and then exit. EXAMPLE
% cfetool dump temperature --path /my/path -f temperature.xml Prints the following to the file temperature.xml: <!-- cfetool Database Dump --> <dump> <name> temperature </name> <age> 1 </age> <!-- steps (0.001 weeks) --> <step> 10 </step> <!-- minutes --> <!-- consecutive updates --> <iterations> 1 </iterations> <!-- last update at Tue Aug 31 10:32:05 2004 --> <timestamp> 1093973525 </timestamp> <!-- current weighted average --> <expect> 7.105000 </expect> <!-- current variance --> <var> 38.280217 </var> <!-- data entries --> <entry> <timekey> Tue:Hr10:Min30_40 </timekey> <expect> 10.150000 </expect> <var> 13.245750 </var> </entry> </dump> AUTHORS
The code and documentation were contributed by Stanford Linear Accelerator Center, a department of Stanford University. This documentation was written by Elizabeth Cassell <e_a_c@mailsnare.net> and Alf Wachsmann <alfw@slac.stanford.edu> COPYRIGHT AND DISCLAIMER
Copyright 2004 Alf Wachsmann <alfw@slac.stanford.edu> and Elizabeth Cassell <e_a_c@mailsnare.net> All rights reserved. perl v5.8.4 2004-09-21 CFETOOLDUMP(8)

Check Out this Related Man Page

RRDDUMP(1)							      rrdtool								RRDDUMP(1)

NAME
rrddump - dump the contents of an RRD to XML format SYNOPSIS
rrdtool dump filename.rrd [filename.xml] [--header|-h {none,xsd,dtd}] [--no-header] [--daemon address] > filename.xml DESCRIPTION
The dump function writes the contents of an RRD in human readable (?) XML format to a file or to stdout. This format can be read by rrdrestore. Together they allow you to transfer your 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 The name of the RRD you want to dump. 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 rrdcached 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 rrdcached manual. rrdtool dump --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd EXAMPLES
To transfer an RRD between architectures, follow these steps: 1. On the same system where the RRD was created, use rrdtool dump to export the data to XML format. 2. Transfer the XML dump to the target system. 3. Run rrdtool restore to create a new RRD from the XML dump. See rrdrestore for details. ENVIRONMENT VARIABLES
The following environment variables may be used to change the behavior of "rrdtool dump": 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> 1.4.8 2013-05-23 RRDDUMP(1)
Man Page