1
2
|
wget http:
//download-aws
.ej-technologies.com
/jprofiler/jprofiler_linux_9_1_1
.rpm
rpm -ivh jprofiler_linux_9_1_1.rpm
|
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]
|
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]
#
|
http://zl1030.blog.51cto.com/274507/1686483
注意版本要一致 windows 和linux的软件版本
ps :要注意 20170925
如果想不在使用jprofiler 监测 ,直接停止被检测的应用 然后重启一下即可。
如果想继续监测需要重新绑定上 重启的应用的端口