JVM监控工具2---Jprofiler

1. Jprofiler是监控JVM的商业工具
html

官网: http://www.ej-technologies.com/products/jprofiler/overview.html linux

功能全、比较重,使用复杂,要求高,工具自己耗内存tomcat

2. 监控方式
服务器

  • 等待模式ide

  • 非等待模式:tomcat独立启动,Jprofiler随时能够链接。通常选择这个工具

  • 离线模式3d

3. 建立监控远程tomcathtm

  • 本地安装tomcat7.0:tomcat7.0压缩包,解压到本地便可blog

  • 远程服务器端安装jprofile服务ip

    1.linux中创建/opt/jprofiler7

    2.cd /opt/jprofiler7

    3.把jprofiler_linux_7_1_2.sh放进去

    4.chmod +x *.sh

    5../jprofiler_linux_7_1_2.sh -c

    6.安装中第一步直接回车,第二步输入2回车,意思是自定义,能够在后面改安装路径,改成/opt/jprofiler7

  • 本地安装Jprofiler (jProfiler7.1.2 64位的.zip 或 jProfiler7.1.2 32位的.zip)

    image.png

    image.png

    image.png

    image.png

    image.png

    image.png

    image.png

    注意,本地tomcat版本要和服务器一致

    image.png

    image.png

    image.png

    tomcat\bin目录下,找到startup_jprofiler.sh,把他copy到服务器tomcat相同的目录中

    若是tomcat已启动,先用kill命令干掉

    在服务器tomcat\bin目录下执行命令 sh startup_jprofiler.sh

    稍等片刻就会看到相似Server startup in xxx ms

  • jprofiler中远程链接tomcat服务

    image.png

    image.png

    image.png

    image.png

相关文章
相关标签/搜索