使用JProfiler9对远程Linux服务器Java应用进行性能检测


Linux服务器端:

1、下载安装Linux版,这里安装的是RPM格式

1
2
    wget http: //download-aws .ej-technologies.com /jprofiler/jprofiler_linux_9_1_1 .rpm
    rpm -ivh jprofiler_linux_9_1_1.rpm

2、安装成功后,进到jprofiler的目录/opt/jprofiler9/bin,运行jpenable

1
2
3
4
5
[root@123 bin] # jpenable 
Connecting to xxxxx.jar [26041] ...
Please  select  the profiling mode:
GUI mode (attach with JProfiler GUI) [1, Enter]
Offline mode (use config  file  to  set  profiling settings) [2]

   会提示已经连接到要检测的xxxxx.jar,要求选择运行模式,这里输入1

1
2
3
4
5
6
1
Please enter a profiling port
[31757]
8885
You can now use the JProfiler GUI to connect on port 8885
[root@123 bin] #

    然后会让输入监测通讯用的端口,这里输入8885,这时候服务器端就可以了。


Windows端:


1、先去官网下载windows版安装文件

    http://www.ej-technologies.com/download/jprofiler/files

    

2、安装好后,选择Session->Quick Attach,输入服务器IP和8885端口,连接即可。



http://zl1030.blog.51cto.com/274507/1686483



注意版本要一致 windows 和linux的软件版本



ps :要注意  20170925

如果想不在使用jprofiler 监测 ,直接停止被检测的应用 然后重启一下即可。


如果想继续监测需要重新绑定上 重启的应用的端口 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值