Version 3

    How can I display the thread CPU utilization?

     

    As of JBoss v4.0.3, the ServerInfo MBean registered under the name

    jboss.system:type=ServerInfo has been enhanced with a new operation

    listThreadCpuUtilization() that presents a sorted list of the active

    threads in the server and their CPU utilization, measured in milliseconds.

     

    This is only available when running under JDK5+ compatible JVMs.

    More information about the underlying APIs can be found

    here

     

    Calling the operation produces a listing like the following:

     

     

    Related

     

    GenerateAThreadDumpWithTheJMXConsole

     

    HowCanIDisplayTheMemoryPoolUsage

     

    Referenced by: