What does "we need to split for 700 number of letterid" mean? You want groups of 700 letters to be output to a single file (i.e. 3500 letter will be five files)? You want letters whose ID has "700" in them in separate files?
---------- Post updated at 15:17 ---------- Previous update was at 15:00 ----------
Hi friends..
We have urgent requirement.We need to split the big xml having multiple orders into multiple xmls
having each order in each xml.
For Example
In input XMl will be in following format with multiple line orders..
<OrderDetail BillToKey="20100805337" Createuserid="CreateGuestOrder"... (8 Replies)
Hello, I am using awk to split a file into multiple files using command:
nawk '{
if ( $1 == "<process" )
{
n=split($2, arr, "\"");
file=arr
}
print > file }' processes.xml
<process name="Process1.process">
... (3 Replies)
Hi,
I had a scenario need a help as I am new to this. I have a xml file employee.xml with the below content.
<Organisation><employee>xxx</employee><employee>yyy</employee><employee>zzz</employee></Organisation>
I want to split the file into multiple file as below. Is there a specifice way... (5 Replies)
Hi All,
I'm stuck with adding multiple lines(irrespective of line number) to a file before a particular xml tag. Please help me.
<A>testing_Location</A>
<value>LA</value>
<zone>US</zone>
<B>Region</B>
<value>Russia</value>
<zone>Washington</zone>
<C>Country</C>... (0 Replies)
HI All,
I have to split a xml file into multiple xml files and append it in another .xml file. for example below is a sample xml and using shell script i have to split it into three xml files and append all the three xmls in a .xml file. Can some one help plz.
eg:
<?xml version="1.0"?>... (4 Replies)
Hi Experts,
Can you please help me to split following XML file based on new Order ? Actual file is very big. I have taken few lines of it.
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Orders xmlns='http://www.URL.com/Orders'>
<Order>
<ORDNo>450321</ORDNo>
... (3 Replies)
Hello All ,
Please help me with below requirement
I want to split a xml file based on tag.here is the file format
<data-set>
some-information
</data-set>
<data-set1>
some-information
</data-set1>
<data-set2>
some-information
</data-set2>
I want to split the above file into 3... (5 Replies)
Hi,
I'm having a xml file with multiple xml header. so i want to split the file into multiple files.
Sample.xml consists multiple headers so how can we split these multiple headers into multiple files in unix.
eg :
<?xml version="1.0" encoding="UTF-8"?>
<ml:individual... (3 Replies)
I want to write a one line script that outputs the result of multiple xml tags from a XML file. For example I have a XML file which has below XML tags in the file:
<EMAIL>***</EMAIL>
<CUSTOMER_ID>****</CUSTOMER_ID>
<BRANDID>***</BRANDID>
Now I want to grep the values of all these specified... (1 Reply)
I'm searching for the names of a TV show in the XML file I've attached at the end of this post. What I'm trying to do now is pull out/list the data from each of the <SeriesName> tags throughout the document. Currently, I'm only able to get data the first instance of that XML field using the... (9 Replies)
Discussion started by: hungryd
9 Replies
LEARN ABOUT DEBIAN
rrddump
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.7 2009-10-14 RRDDUMP(1)