您的位置:首页 > 运维架构 > Linux

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

2015-08-20 15:55 615 查看
Linux服务器端:

1、下载安装Linux版,这里安装的是RPM格式
wget http://download-aws.ej-technologies.com/jprofiler/jprofiler_linux_9_0_2.rpm rpm -ivh jprofiler_linux_9_0_2.rpm
2、安装成功后,进到jprofiler的目录/opt/jprofiler9/bin,运行jpenable
[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
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端口,连接即可。

本文出自 “zl1030的记录” 博客,请务必保留此出处http://zl1030.blog.51cto.com/274507/1686483
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: