lkml.org 
[lkml]   [1998]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Idle time reported by top / 386 compiling kernel
Hi!

> Hmm, yes, it looks like I can see it. But it looks like measurement
> error. TOP uses idle=100%-sum{times of all processes}. Fix top.

[And kernel has its own idle time reporting, it is really neccessary
to use that.]

Just to show how broken top is, try following program: Top reports 95%
idle time, while cpu is completely loaded in fact. Fix top.

void
main( void )
{
int i;
for (i=0; i<10000; i++)
system( "echo line >> /tmp/delme" );
}

Pavel
--
I'm really pavel@atrey.karlin.mff.cuni.cz. Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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