首页
学习
活动
专区
工具
TVP
发布

压测分析工具 Jprofiler 的安装

官网:

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安装-压测分析》

  • 发表于:
  • 原文链接https://kuaibao.qq.com/s/20181126B09VY100?refer=cp_1026
  • 腾讯「腾讯云开发者社区」是腾讯内容开放平台帐号(企鹅号)传播渠道之一,根据《腾讯内容开放平台服务协议》转载发布内容。
  • 如有侵权,请联系 cloudcommunity@tencent.com 删除。

扫码

添加站长 进交流群

领取专属 10元无门槛券

私享最新 技术干货

扫码加入开发者社群
领券