性能测试三十八:Java性能分析神器-JProfiler安装和简单介绍

Jprofiler是一个重量级的工具,需要分别在服务器和windows都装客户端,会损耗性能,用于发现问题后排查问题,而不是常规的监控

JPROFILER工具下载地址:http://www.ej-technologies.com/download/jprofiler/files
linux下安装:rpm -ivh jprofiler_linux_9_1_1.rpm

由于我这个是32位的版本,在这里下载64位的话下载速度非常慢,直到安装完毕

 

提示要注册码,网上搜对应版本的注册码,一大把

[email protected]#36573-fdkscp15axjj6#25257
[email protected]#7009-14frku31ynzpfr#20176
[email protected]#49604-1jfe58we9gyb6#5814
[email protected]#25531-1qcev4yintqkj#23927
[email protected]#96496-1qsu1lb1jz7g8w#23479
[email protected]#20948-11amlvg181cw0p#171159 

[email protected]#23874-hrwpdp1sh1wrn#0620

[email protected]#36573-fdkscp15axjj6#25257

[email protected]#5481-ucjn4a16rvd98#6038
[email protected]#99016-hli5ay1ylizjj#27215
[email protected]#40775-3wle0g1uin5c1#0674

监控的liunx安装

赋权限

安装

由于是rpm格式的,用rpm格式安装:rpm -ivh jprofiler_linux_9_1_1.rpm

默认安装到了/opt/ 下面

 

去tomcat/bin/catalina.sh文件配置jvm参数的地方添加:-agentpath:/opt/jprofiler9/bin/linux-x86/libjprofilerti.so=port=8849,nowait

 vi /home/server/tomcat-PerfTeach01/bin/catalina.sh

 

重启tomcat

 启动成功后回到windows版本

 

看死锁情况

猜你喜欢

转载自www.cnblogs.com/zhongyehai/p/10325156.html