第一步、下载软件
官网地址:https://www.ej-technologies.com/download/jprofiler/files ,
Mac客户端 GUI界面
download
Linux服务端
download2
第二步、安装
1、下载好后把tar包上传的linux服务器,解压。
2、修改tomcat的bin/catalina.sh文件
CATALINA OPTS=" -agentpath:/home/software/jprofiler11.0.1/bin/linux-x64/libhprofilerti.so=port=10001,nowait"
modifyTomcat
jprofiler的安装路径和端口,我配的端口是10001
3、再重启tomcat
startTomcat
可以看到10001端口启动成功了。
第三步、安装windows jprofiler客户端和建立远程连接
1、安装好Mac jprofiler软件
2、连接linux监控运行状态
点击
setting
选择远程连接
image
选择jdk的版本
image
image
连接的地址
image
jprofiler在Linux上安装的路径
image
端口
port
image
image
完成。
点击start center可以看到自己配的
image
然后选中,点击start
image
apple new settings
image
image
image
image