3.8.5 Monitoring MBean statistics in JConsole
Home | Previous | Next


3.8.5 Monitoring MBean statistics in JConsole

If there is not enough detail in the Performance Viewer or xsadmin, it is worth having a look at the MBean statistics in JConsole. JConsole provides extensive and detailed metrics for grids, containers, and shards.

JConsole can be run against WAS using the following batch file. Change the variables for HOST, BOOTSTRAP, and WAS_HOME to match the environment.

@ECHO OFF
set HOST=localhost
set BOOTSTRAP=9809
set WAS_HOME=C:\IBM\WebSphere\AppServer
set JAVA_HOME=%WAS_HOME%\java
echo Connecting to service:jmx:iiop://%HOST%:%BOOTSTRAP%/jndi/JMXConnector
set CLASSPATH=%JAVA_HOME%\lib\jconsole.jar;%JAVA_HOME%\lib\tools.jar;%WAS_HOME%
\runtimes\com.ibm.ws.admin.client_7.0.0.jar
%JAVA_HOME%\bin\jconsole.exe -J-Djava.class.path=%CLASSPATH%
service:jmx:iiop://%HOST%:%BOOTSTRAP%/jndi/JMXConnector


+

Search Tips   |   Advanced Search