美文网首页
jProfiler远程连接Linux监控jvm、tomcat运行

jProfiler远程连接Linux监控jvm、tomcat运行

作者: alterem | 来源:发表于2019-07-27 10:16 被阅读0次

第一步、下载软件

官网地址:https://www.ej-technologies.com/download/jprofiler/files

Mac客户端 GUI界面

download

Linux服务端

download2

第二步、安装

1、下载好后把tar包上传的linux服务器,解压。

2、修改tomcat的bin/catalina.sh文件

CATALINA OPTS=" -agentpath:/home/software/jprofiler11.0.1/bin/linux-x64/libhprofilerti.so=port=10001,nowait"
modifyTomcat

jprofiler的安装路径和端口,我配的端口是10001

3、再重启tomcat

startTomcat

可以看到10001端口启动成功了。

第三步、安装windows jprofiler客户端和建立远程连接

1、安装好Mac jprofiler软件

2、连接linux监控运行状态

点击

setting

选择远程连接

image

选择jdk的版本

image image

连接的地址

image

jprofiler在Linux上安装的路径

image

端口

port image image

完成。

点击start center可以看到自己配的

image

然后选中,点击start

image

apple new settings

image image image image

相关文章

网友评论

      本文标题:jProfiler远程连接Linux监控jvm、tomcat运行

      本文链接:https://www.haomeiwen.com/subject/dzusrctx.html