jprofile 远程监控tomcat

利用jprofile7进行监控,复制一个tomcat/bin 下面的catalina.sh 名字为catalina_jprofile.sh
添加
CATALINA_OPTS="-agentpath:/home/appusr/jprofiler7/bin/linux-x64/libjprofilerti.so=port=8849,nowait,-Xbootclasspath/a:/home/appusr/jprofiler7/bin/agent.jar  $CATALINA_OPTS"
export CATALINA_OPTS

启动
catalina_jprofile.sh start
 

你可能感兴趣的:(profile)