Re: JDB percent CPU usage

Adam Lackorzynski <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
Hi jason,

On Wed Dec 03, 2014 at 20:11:03 -0500, teclis High Elf wrote:
> Is there a way to get percent CPU usage (or any other resource usage ) from
> JDB? So if I suspect that one task has run amok and is monopolizing the CPU
> I can search for it using JDB.

CPU usage is not directly possible with jdb as jdb only has a current
view with the system being stopped. What usually works quite ok is to
check for 'ready' threads (with 'lp' jdb command) a couple
of times and see if one or some are ready besides the kernel idle
threads all the time.



Adam
-- 
Adam                 [email protected]
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.