What I’m going to explain is how to monitor the Memory and CPU usage etc.. with JConsole
This is very useful stuff when you are going to do the testing on remote server
First you have to add this parameter in to the wso2server.sh in $IS_HOME/bin
-Djava.rmi.server.hostname=”192.168.4.26″ (your server host name)
Then start the IS. You can see “JMX Service URL” in the console.
Now you have to go to another command line and type “jconsole“
Then give the above JMX Service URL with correct IP
username – admin
password – admin
Now you connected with the given server you can monitor Memory, CPU usage etc..