[rrd-users] Way to merge files?

Ronald Stamper ronald at ccpgames.com
Tue Jan 23 18:23:37 MET 2007


I simply put my command in a file and rrdtool ran that command most excellent using rrdtool - < doit.txt

The command called in over 164 files with the appropriate sum CDEF on it etc.. etc.. it was over 3 thousand characters long and rrdtool complied the graph in less then 2 seconds. I am most impressed at the person that codded it!

-----Original Message-----
From: Andreas Maus [mailto:a.maus at science-computing.de]
Sent: Tuesday, January 23, 2007 4:21 PM
To: Ronald Stamper
Cc: rrd-users
Subject: Re: [rrd-users] Way to merge files?

On Tue, Jan 23, 2007 at 04:10:49PM +0000, Ronald Stamper wrote:

> We normally tell RRDTOOLS to generate a graph using a dos prompt, but the length of the command needed to get RRD to parse 164 files over flows its buffer.
Never used rrdtool in a DOS/Windows environment, but ...
You can - at least in a UN*X environment - run rrdtool in the so called "pipe mode" by calling:

rrdtool -

Maybe you can try this and feed your command through this pipe.
(Even DOS can do standard I/O redirection, right ?)



Dipl.-Ing. Andreas Maus             science+computing ag
System Administration               Hagellocher Weg 73
mail: a.maus at science-computing.de   72070 Tuebingen, Germany
tel.: +49 7071 9457 456             www.science-computing.de

More information about the rrd-users mailing list