[rrd-users] Re: Creating multiple DS in batch mode

Serge Maandag serge.maandag at staff.zeelandnet.nl
Wed Feb 25 10:59:13 MET 2004

> I don't know perl (I keep meaning to learn it...), but 
> something in sh 
> would be:
> #!/bin/sh

In perl you could do something like:

$cmd =  "rrdtool create bla.rrd ";
$cmd .= join (" ", map {"DS:ds$_:600:U:U"} (1..2048));
$cmd .= " RRA:AVERAGE:0.5:1:866 RRA:AVERAGE:0.5:6:400\n";

You are creating a monster though.

If the number of open files is the problem on your OS, 
you may be able to tweak it. (linux -> sysctl).
If the number of files per directory is the problem, you can 
make your directory structure hashed, like



Op de inhoud van dit e-mailbericht en de daaraan gehechte bijlagen is de inhoud van de volgende disclaimer van toepassing: http://www.zeelandnet.nl/disclaimer.php

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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-users mailing list