View Full Version : load averages
cdrtimes.com
Tue 28th May '02, 12:16pm
7.06, 4.37, 2.38 13 users online
is this normal ??
30 seconds latter i checked again and it was
2.11, 3.42, 2.25 11 users online
and another 30 seconds and iam down to
1.02, 2.85, 2.14 10 users online
whats normal and what is this information telling us ?
The Prohacker
Tue 28th May '02, 12:18pm
The 15min average is only 2.. So not to bad to worry about, a burst of 7 in a minutes time is ok now and then, if it was running constantly at that, then you should be worried...
eva2000
Tue 28th May '02, 12:18pm
shared or dedicated server ?
if it's shared that would be more likely normal since load average is for entire server and all sites sharing that server not just yours
cdrtimes.com
Tue 28th May '02, 12:21pm
Bloody hell you guys are quick !!!!! :D this is a shared server, but no idea how many others are using it.
The Prohacker
Tue 28th May '02, 12:23pm
Since its shared... Thats just fine... Loads can peak when stats are generated or backups are made....
If the 15min average was 7 then I'd be worried, but since its low, nothing to worry about....
If you want to see how many people are on the server with you do this:
ls /home
And you'll see how many accounts are in home, some servers aren't configured this way, so might or might not work...
cdrtimes.com
Tue 28th May '02, 6:41pm
[i]If you want to see how many people are on the server with you do this:
ls /home
And you'll see how many accounts are in home, some servers aren't configured this way, so might or might not work... [/B]
can you please explain how you do this ??
rylin
Tue 28th May '02, 6:42pm
or better yet, if you don't want to count them manually
ls -l /home/ | wc -l
will show you how many directories & files are in that dir
make sure /home is the user-root though ;)
it won't be an exact figure, but should be a pretty close mark
rylin
Tue 28th May '02, 6:43pm
Originally posted by cdrtimes.com
can you please explain how you do this ??
ssh or telnet into the server
(yes, you need shell access for this)
kippesp
Thu 30th May '02, 4:50pm
How do load averages correspond to the CPU utilization given in the top command? At the moment, we are fairly busy with loads of 1.34, 1.29, and 1.12 (single CPU). But CPU states show basically 0% on everything. And when I look at the first two processes listed by top, I see user mysql at 69% and user apache at 17%.
Is there a way to get a sum of %CPUs? I'm a bit puzzled why the mysql user isn't affecting the CPU state modes (user, system, idle, nice).
Any alternatives to top?
EDIT: This may work: add all the %'s as described here (http://faq.mrtg.org/linux/proc-load.html).
vBulletin® v3.8.0 Beta 3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.