jprofiler监控远程tomcat

本地和远程服务器都采用jprfiler7版本。下载地址http://www.ej-technologies.com/download/jprofiler/files

 

  • 服务器jprofiler安装

上传安装包jprofiler_linux_7_2_3.tar.gz到远程linux服务器

tar zxf jprofiler_linux_7_2_3.tar.gz解压文件

 

  • 配置本地windows的jprofiler客户端

启动本地jprofiler,选择An application server, locally or remotely,Next
选择服务器为:Apache Tomcat 7.x,Next

选择On a remote computer和Linux X86/AMD64,Next

选择JVM信息,Next

选择启动模式Wait for a connection from the JProfiler GUI,Next

输入远程服务器Remote address 172.18.65.8,Next

输入远程服务器jprofiler安装路径Installation directory /user/local/jprofiler7,Next

输入本地tomcat启动脚本D:\apache-tomcat-6.0.37\bin\startup.sh,Next 

一路Next下来选择No, I will start the session later,最后会在本地tomcat的bin目录下面生成startup_jprofiler.sh

 

  • 启动远程tomcat

将上步生成的startup_jprofiler.sh文件上传到远程服务器的tomcat bin目录下,用这个文件启动tomcat

本地在jprofiler客户端Session->start center,选择我们上步配的客户端选项,完成。

 

 

 

猜你喜欢

转载自ye-liang.iteye.com/blog/1994017
今日推荐