You are not logged in.
well, it seem like my load average is kinda high , I'm not that woried because the computer isn't lagged at all, but it is quite annoying a load average bigger than 3 (yesterday I would say 1) when i'm only running opera, emesene, ratpoison, GNU/screen, and i did compile the kernel two or three days ago and got a load average lower than 1.
oh! and i use a laptop, and don't think the battery like this load average.
Last edited by hack.augusto (2008-12-13 04:44:52)
Offline
How many CPU cores?
Offline
2 cores
% uname -p 14:27
Intel(R) Pentium(R) Dual CPU T2370 @ 1.73GHz
Offline
I thinkn it could be a couple scripts that i had running, i just restarted, and my load average felt to 3.98 4.46 3.81, i'm going to modify this scripts and see what hapen ...
Offline
Yep, it is my scripts, I just can't understand how the load average goes so high because of a couple shell scripts, one of them do a ping to my provider every 15sec to check my internet connection, the other one gets the power from my battery.
If i write them in python or C/C++ would help my load average?
battery(){
bat_full=`cat /proc/acpi/battery/$batname/info | grep design | line | cut -d " " -f 11`
bat_rcapacity=`cat /proc/acpi/battery/$batname/state | grep remaining | cut -d " " -f 8`
((bat_pwr=(bat_rcapacity * 100)/bat_full))
echo $bat_pwr ;;
}
network(){
if [[ `cat /sys/class/net/$ethernet/operstate` == "down" ]] then
echo "down"
elif [[ `ping -c 1 201.24.94.254 |& grep 'unreachable'` != "" ]] then
echo "limited"
else
echo "web"
fi
}
Last edited by hack.augusto (2008-12-11 22:22:56)
Offline
Offline