Re: Why so must idle time ?

From: Richard Zidlicky (Richard.Zidlicky@stud.informatik.uni-erlangen.de)
Date: Fri Jul 07 2000 - 17:26:06 EST


On Fri, Jul 07, 2000 at 04:54:52PM +0200, Giuliano Pochini wrote:
> I have a machine running web server. It has a lot of httpd's loaded and
> most of them are sleeping. The load average is always around 7-13, so I
> wonder why the CPU usage doesn't reach ~100%. It wastes CPU time or
> simply there is something top does not show ?

yes, top gets its stats once every 5 secs and (obviously) considers only
existing procesess. A process that exited 0.01 secs before top collected
its stats simply doesn't leave any trace - top has no chance but to mark
the time it consumed as idle.

Bye
Richard

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:09 EST