yujin2010good
作者yujin2010good2018-11-15 09:58
系统工程师, 大型零售巨头

Jprofiler安装-压测分析

字数 918阅读 1956评论 1赞 3

官网
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.
[root@ip-192-168-201-182 bin]# jpenable
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客户端安装即可监控分析

如果觉得我的文章对您有用,请点赞。您的支持将鼓励我继续创作!

3

添加新评论1 条评论

michael1983michael1983技术总监, 某证券
2018-11-16 10:37
很不错的工具,学习了
Ctrl+Enter 发表

作者其他文章

相关文章

相关问题

相关资料

X社区推广