lkml.org 
[lkml]   [2000]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Why so must idle time ?
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.020 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site