Edvard Majakari wrote:
Reid Priedhorsky <[EMAIL PROTECTED]> writes:
/proc/loadavg currently reports the following:
0.96 0.98 0.78 1/116 23994
xload also reports roughly the same.
But top and ps both report a nearly idle system (98% idle). What is going
on? How can I find out what is causing my system to be so busy?
Umm.. your system doesn't seem busy to me. IIRC, those load averages represent the average number of processes waiting to be served for 1, 5 and 15 minutes. Thus load averages of 3.5, 2.3 and 0.97 would indicate heavy increase in load during the last 15 minutes, and that at the moment 3.5 processes in average wait for the kernel scheduler to give them some processing time.
As such, load averages below 1 mean system doesn't have any processes (except perhaps the one being run) waiting to be served.
I believe it includes the one running. .96 is very far from idle.
Here us an idle machine: Numbat:~# cat /proc/loadavg ;uptime 0.00 0.00 0.00 2/37 2808 01:11:05 up 1 day, 10:07, 2 users, load average: 0.00, 0.00, 0.00 Numbat:~#
I/I activity can push the load average up too: a high load average does not mean the CPU is busy, though it often is.
--
Cheers John
-- spambait [EMAIL PROTECTED] [EMAIL PROTECTED] Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]