kernel thread as real threads..
Thierry Herbelot
thierry at herbelot.com
Fri Jan 20 11:09:01 PST 2006
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
More information about the freebsd-current
mailing list