JBoss 5 Memory and Thread Info

Version 1

    JBoss provides information on server performance, how much memory is used, the total CPU time each thread has used etc.. This information you can see on jmx-console:

     

    http://localhost:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.system:type=ServerInfo

     

    MBean view basic information about the server and contains 3 operations:

    OperationDescriptionURL
    listThreadCpuUtilizationview all threads, and the total CPU time for each threadhttp://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:type=ServerInfo&methodName=listThreadCpuUtilization
    listMemoryPoolsshows the size and current usage of all JVM memory poolshttp://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOp&name=jboss.system:type=ServerInfo&methodIndex=2&arg0=True
    listThreadDumpshows all threads running in the JVM and showing you exactly what code each thread is executinghttp://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:type=ServerInfo&methodName=listThreadDump