Linux安装JProfiler11监控SpringBoot项目
1 官网下载windows客户端 和 linux server端 (https://www.ej-technologies.com/download/jprofiler/files)

2 windows安装 ,下载目录下 执行jprofiler_windows-x64_11_1_4.exe 按照提示至安装完成。
3 linux安装
3.1 创建安装目录并下载
wget https://download-gcdn.ej-technologies.com/jprofiler/jprofiler_linux_11_1_4.tar.gz
3.2 解压缩
tar -zxvf jprofiler_linux_11_1_4.tar.gz
3.3 添加配置并生效
vim /etc/profile
export INSTALL4J_JAVA_HOME=/usr/java/jdk1.8.0_191-amd64/jre
export LD_LIBRARY_PATH=/opt/soft/jprofiler11.1.4
source /etc/profile
3.4 运行server端
/opt/soft/jprofiler11.1.4/bin/jpenable 选择监控的JVM
选择监控类型GUI
配置端口8849

4 client端监控
到windows下运行JProfiler,按照步骤运行
4.1选择Generic application

4.2 选择远程电脑 Linux X86/AMD64

4.3 选择Oracle

4.4 选第一个

4.5 填写远程地址

4.6 填写server端JProfiler 地址

4.7 设置端口

4.8 获取需要待监控JVM的启动添加命令
-agentpath:/opt/soft/jprofiler11.1.4/bin/linux-x64/libjprofilerti.so=port=8849

4.9 开启session

4.10 默认状态启动

4.11 开启监控(若启动失败,在server端添加java启动项目添加上面命令 -agentpath:/opt/soft/jprofiler11.1.4/bin/linux-x64/libjprofilerti.so=port=8849 )
