If your blocks are 4k, then putting

 

Factor[xxx]: 4096

 

in the .cfg file will do what you want.  Alternatively, get your script
to do it as it collects by just using

 

blck_in=`expr $blck_in \* 4096`

 

in the shellscript (and the same for out) before it outputs the values.

 

Steve

 

Now, just need to find out how to convert blocks to bytes.

 

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to