I have superkaramba installed from rpm via yast2 and am using the SystemCheck theme which comes as part of the installation.
My problem is that the network section doesn't work properly. From what I can tell the
%in and
%out commands (or what ever they are, anyone want to explain it?) aren't reporting the in and out rates from my network card, which is an internal wireless card just incase that make a difference.
Code:
###############################################################################
# sensor network download
# range is up to 100 kb. change 'max' value if needed.
###############################################################################
text x=85 y=68 sensor=network color=255,255,255 format="%in Kb" fontsize=12 font="verdana" decimals=1 shadow=1 align="right"
text x=135 y=68 sensor=program program="/sbin/ifconfig wlan0 | grep 'RX byte' | awk '{print $3 $4}'" color=255,255,255 align="left" fontsize=12 font="verdana" shadow=1 interval=1000
###############################################################################
# sensor network upload
# range is up to 16 kb. change 'max' value if needed.
###############################################################################
text x=85 y=113 sensor=network color=255,255,255 format="%out Kb" fontsize=12 font="verdana" decimals=1 shadow=1 align="right"
text x=135 y=113 sensor=program program="/sbin/ifconfig wlan0 | grep 'RX byte' | awk '{print $7 $8}'" color=255,255,255 align="left" fontsize=12 font="verdana" shadow=1 interval=1000
I've striped out the graph crap, the
/sbin/ifconfig wlan0 | grep 'RX byte' part works fine so I can see the total amount I've downloaded but I'd like to be able to view the rate which is where the
%in and
%out come in. Is there something special I need to install? Is there another way to get the info that I can use instead?
Thanks for any help in advance.