[rrd-users] Re: Multi threaded Perl scripts using RRDTool

Alex van den Bogaerdt alex at ergens.op.het.net
Wed Sep 6 17:18:24 MEST 2006


On Wed, Sep 06, 2006 at 03:56:23PM +0100, Richard Burton wrote:

> Thanks for the reply, I really need to run multiple rrdupdates at the
> same time as I have loads of data in text files to turn in to RRD files
> and running 1 update command at a time isn't quick enough to keep up
> with the amounts of text files I am producing.

Are you already doing multiple updates per update command?

rrdtool update x.rrd <timestamp>:<values>
rrdtool update x.rrd <timestamp>:<values>
rrdtool update x.rrd <timestamp>:<values>
rrdtool update y.rrd <timestamp>:<values>
rrdtool update y.rrd <timestamp>:<values>
rrdtool update y.rrd <timestamp>:<values>
rrdtool update z.rrd <timestamp>:<values>
rrdtool update z.rrd <timestamp>:<values>
rrdtool update z.rrd <timestamp>:<values>

could be

rrdtool update x.rrd <timestamp>:<values> <timestamp>:<values> <timestamp>:<values>
rrdtool update y.rrd <timestamp>:<values> <timestamp>:<values> <timestamp>:<values>
rrdtool update z.rrd <timestamp>:<values> <timestamp>:<values> <timestamp>:<values>

or even

(
echo update x.rrd <timestamp>:<values> <timestamp>:<values> <timestamp>:<values>
echo update y.rrd <timestamp>:<values> <timestamp>:<values> <timestamp>:<values>
echo update z.rrd <timestamp>:<values> <timestamp>:<values> <timestamp>:<values>
) | rrdtool -

If you are already doing this, then you must have lots of data to process...

HTH
-- 
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list