jprofiler監控linux上tomcat
阿新 • • 發佈:2018-06-24
AD 中間 ntp tar.gz agent The mman exec inf
1,首先下載linux和windows 的安裝軟件
https://www.ej-technologies.com/download/jprofiler/files
2,把jprofiler_linux_8_0_7.tar.gz 上傳到linux /opt目錄解壓縮
3,配置tomcat bin目錄下的catalina.sh
在 # ----- Execute The Requested Command ----------------------------------------- 這一行上面添加
JAVA_OPTS="$JAVA_OPTS -agentpath:/opt/jprofiler8/bin/linux-x86/libjprofilerti.so=port=8849"
其中 ,-agentpath:/opt/jprofiler8/bin/linux-x86/libjprofilerti.so=port=8849" 這個是 windows配置時生成的 跟JAVA_OPTS 中間有空格
4,tomcat沒有啟動的話,啟動tomcat
5,安裝windows上的jprofiler
jprofiler_windows-x64_8_0_7.exe
傻瓜安裝
然後
1),
2),
3),這個是用的32位的linux, 另一臺64位的linux 沒有取消勾選,可以成功。32位不取消勾選的未試。
4),
5),
6),
7),
8),
9),
10),
11),單擊ok
6,完成上一步,監控頁面顯示為
jprofiler監控linux上tomcat