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:
Operation | Description | URL | Twiddle .bat/sh |
---|---|---|---|
listThreadCpuUtilization | view all threads, and the total CPU time for each thread | http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:type=ServerInfo&methodName=listThreadCpuUtilizatio | twiddle.bat -s localhost invoke "jboss.system:type=ServerInfo" listThreadCpuUtilization > index.html or ./twiddle.sh -s localhost invoke "jboss.system:type=ServerInfo" listThreadCpuUtilization > index.html |
listMemoryPools | shows the size and current usage of all JVM memory pools | http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOp&name=jboss.system:type=ServerInfo&methodIndex=2&arg0=True | twiddle.bat -s localhost invoke "jboss.system:type=ServerInfo" listMemoryPools "True" > index.html or ./twiddle.sh -s localhost invoke "jboss.system:type=ServerInfo" listMemoryPools "True" > index.html |
listThreadDump | shows all threads running in the JVM and showing you exactly what code each thread is executing | http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:type=ServerInfo&methodName=listThreadDump | twiddle.bat -s localhost invoke "jboss.system:type=ServerInfo" listThreadDump > index.html or ./twiddle.sh -s localhost invoke "jboss.system:type=ServerInfo" listThreadDump > index.html |
Comments