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

相關文章
相關標籤/搜索