Linux安裝JProfiler監控tomcat

來源:互聯網
上載者:User

標籤:logs   客戶   依次   http   nload   windows   log   ble   選擇   

    • 下載JProfiler包
      wget http://download-keycdn.ej-technologies.com/jprofiler/jprofiler_linux_9_2.rpm
    • 安裝JProfiler
      rpm -ivh jprofiler_linux_9_2.rpm
    • 安裝JProfiler用戶端
      http://download-keycdn.ej-technologies.com/jprofiler/jprofiler_windows-x64_9_2.exe
    • 用戶端安裝完成後,開啟用戶端。Start Center → New Session →  New Server Integration。會彈出“integration Wizard“視窗,依次選擇

    • 建立完成後,會在本地產生一個名為“startup_jprofiler.sh”啟動指令碼,會與start.sh路徑一樣。再將“startup_jprofiler.sh”啟動指令碼 拷貝到被監控伺服器上,tomcat/bin/目錄下。
      此指令碼需要修改最後一行,由“exec "$PRGDIR"/"$EXECUTABLE" run "[email protected]"”修改為“exec "$PRGDIR"/"$EXECUTABLE" start "[email protected]"”
      最後stop被監控伺服器的java進程,用“startup_jprofiler.sh”指令碼啟動tomcat,開啟剛才建立的配置進行訪問就 OK了

Linux安裝JProfiler監控tomcat

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.