JDB percent CPU usage

Adam Lackorzynski adam at os.inf.tu-dresden.de
Thu Dec 4 23:57:32 CET 2014


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                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/




More information about the l4-hackers mailing list