Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2006 20:08:40 +0100
From:      Thierry Herbelot <thierry@herbelot.com>
To:        freebsd-current@freebsd.org
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: kernel thread as real threads..
Message-ID:  <200601202008.42247.thierry@herbelot.com>
In-Reply-To: <20060120095214.GA11088@xor.obsecurity.org>
References:  <43D05151.5070409@elischer.org> <43D0AB26.5070407@samsco.org> <20060120095214.GA11088@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601202008.42247.thierry>