關於jprofiler在SUSE配置遠程監控

來源:互聯網
上載者:User

1.首先將jprofiler7解壓到/home/vms/jprofiler7下(先註冊擷取試用license:http://www.ej-technologies.com/download/jprofiler/trial)

2.修改.profile檔案,加入如下內容: 
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/vms/jprofiler7/bin/linux-x64

3.修改_base_start.sh檔案,加入如下內容: 
JAVA_OPTS="$JAVA_OPTS -Xshareclasses:none -agentpath:/home/vms/jprofiler7/bin/linux-x64/libjprofilerti.so=port=8848"

4.重新登入工作階段,並運行應用。例如./start_notifyserver.sh,這樣通過jprofiler7代理就把notifyserver啟動起來了。

5.接下來啟動window機器上的Jprofiler7 
     5.1 並選擇"An application server, locally or remotely",下一步 
     5.2 選擇"Apache Tomcat 7.x",下一步 
     5.3 選擇"On a remote computer" 以及 "Linux X86/AMD64",下一步 
     5.4 JVM vendor:IBM 
        Version:1.6.0 
        Mode:JIT 
        並勾選 "64 bit JVM",下一步 
     5.5 下一步 
     5.6 "Remote address"填入要已連線的服務器IP,下一步 
     5.7 "Remote installation directory"填入/home/vms/jprofiler7,下一步 
     5.8 "Locate the start script"填入tomcat7的中的startup.sh,下一步 
     5.9 "JProfiler port"填入8848,下一步 
     5.10 下一步 
     5.11 選擇"Yes, start the session and wait for the application server."

6.接下來就可以監控該應用了。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.