This is a simple kit with 15 day trial period licence which can be got from http://www.yourkit.com/.
It has both windows and linux versions.For the linux version just copy the
1. copy the libyjpagent.so into tomcat/bin
2. set the path by typing export LD_LIBRARY_PATH=/tomcat/bin
3. Add -agentlib:yjpagent to Tomcat JVM startup params as
JAVA_OPTS=" -agentlib:yjpagent -server -Xms512m -Xmx768m ......" in catalina.sh
To connect for the same from Windows
1 Install the windos version
2 Click on connect remotely . Enter the ip of the profiling machine
3 This gives most of the stats. For time wise distibution of thread on the running methods
click start profiling.
It also gives snapshots for the required time duration.
No comments:
Post a Comment