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. danke sehr
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@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
participants (2)
-
Adam Lackorzynski -
teclis High Elf