[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] iostat



On Thursday 06 November 2008, Martin Flemming wrote:
> .. little Corecction ...
>
> .. the script linux-iostat.pl get now with the change below the data
> and make the right output with debug-option, but i've got only graphs for
> e.g hdd or md ... not for i2o/hda1 etc ...
That's because there is a "/" in it.  You can do s/\//_/g in linux-iostat.pl 
to change the / to _.
Or you can strip "i2o/" with s/i2o\///g.

You can do this just before the final command is created (the line where 
$ENV{BB} is used):

$rrd_return =~ s/i2o\///g ;


Stef