美文网首页
jprofiler远程监控tomcat

jprofiler远程监控tomcat

作者: 紫色红色黑色 | 来源:发表于2021-09-10 11:39 被阅读0次

描述

本文描述了在windows上使用jprofiler远程监控linux上的tomcat
版本jprofiler11.1.4、tomcat7

正文

1.windows安装jprofiler

2.linux配置jprofiler
下载linux jprofiler,解压。比如解压到/opt/app/tools//opt/app/tools/jprofiler11.1.4/是jprofiler的home目录,这个下面会用到。

image.png

配置tomcat的catalina.sh
在catalina.sh中增加以下配置,port为端口号。然后启动tomcat

CATALINA OPTS=" -agentpath:/opt/app/tools/jprofiler11.1.4/bin/linux-x64/libjprofilerti.so=port=8089,nowait"

image.png

3.windows连接远程jprofiler
然后就是一步一步配置,期间需要输入linux上jprofiler的home目录

image.png

这里需要将远程tomcat的start.sh下载到本地,并配置。


image.png

引用

https://www.linuxidc.com/Linux/2019-08/159828.htm

相关文章

网友评论

      本文标题:jprofiler远程监控tomcat

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