Re: kernel thread as real threads..

From: Thierry Herbelot <thierry_at_herbelot.com>
Date: Fri, 20 Jan 2006 20:08:40 +0100
Le Friday 20 January 2006 10:52, Kris Kennaway a écrit :

> Correct me if I'm wrong, but the stats aren't accounted to the parent
> process either.  I'm pretty sure I've seen situations where a thread
> was using a lot of CPU, but if you believe top(1) then every process
> in the system is idle (except for the fact that the system is 0%
> idle).  In this situation there's no way to tell which threaded
> process is using resources.

One work-around is to "nice" the specific process (nice 1 is enough, of 
course), then the "nice" component of "CPU states:" seems to reflect the real 
CPU use of a threaded process.

	TfH
Received on Fri Jan 20 2006 - 18:09:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:51 UTC