The Source for Java Technology Collaboration
User: Password:



Eamonn McManus

Eamonn McManus's Blog

"Top threads" plugin for JConsole

Posted by emcmanus on June 21, 2007 at 08:14 AM | Comments (1)

Peter Doornbosch has created a much improved version of the JTop sample plugin for JConsole. JTop only shows thread name, cumulative CPU time, and thread state. The "top threads" plugin also shows, per thread, current CPU percentage, average CPU percentage, and the evolution of CPU percentage over time. Very nice!

There does seem to be a bug whereby the TextArea that shows the stack trace of the selected thread is editable. Furthermore this TextArea is "always on top" so it can obscure part of the "new connection" dialogue. I found that I could shrink the TextArea down to nothing by grabbing the control at its top, so this problem isn't very severe.

Thanks to Daniel Fuchs for the pointer.

[Tags: jconsole jtop.]


Bookmark blog post: del.icio.us del.icio.us Digg Digg DZone DZone Furl Furl Reddit Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment

  • Hi Eamonn,
    Thanks for the feedback. I just fixed both bugs. The "always on top" bug really bugged me, but turned out to be a simple typo: using TextArea (awt) instead of JTextArea ;-(.

    Regards,
    Peter Doornbosch

    Posted by: peter_doornbosch on June 26, 2007 at 01:26 PM



Only logged in users may post comments. Login Here.


Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds