官网:
https://www.ej-technologies.com/download/jprofiler/version_100
1、下载安装Linux版,这里安装的是RPM格式
wget https://download-keycdn.ej
technologies.com/jprofiler/jprofiler_linux_10_0_4.rpm
2、批量安装
copy模块
ansible all -m copy -a "src=jprofiler_linux_10_0_4.rpm backup=yes dest=/root"
shell模块
ansible all -m shell -a "rpm -ivh /root/jprofiler_linux_10_0_4.rpm"
3、安装成功后,进到jprofiler的目录,运行jpenable
cd /opt/jprofiler10/bin/
[root@ip-192-168-1-182 bin]# jpenable
Select a JVM:
is-job-1.0.0-SNAPSHOT.jar [12757] [1]
gi-job-1.0.1-SNAPSHOT.jar [12526] [2]
No JVM selected.
Select a JVM:
is-job-1.0.0-SNAPSHOT.jar [12757] [1]
gi-job-1.0.1-SNAPSHOT.jar [12526] [2]
2
Please select the profiling mode:
GUI mode (attach with JProfiler GUI) [1, Enter]
Offline mode (use config file to set profiling settings) [2]
1
Please enter a profiling port
[26152]
8885
You can now use the JProfiler GUI to connect on port 8885
4、win客户端安装即可监控分析
原题:《Jprofiler安装-压测分析》
领取专属 10元无门槛券
私享最新 技术干货