概述
今天給大家介紹一款開袋即食的性能監控工具,居家性能測試必備!
tomcat監控工具:probe
tomcat probe是一個開源的監控tomcat運行狀態工具,可以實時查看項目運行的情況,監控內存,cpu,日志等等
部署安裝
war包下載地址: https://pan.baidu.com/s/1jI88NkE
將probe.war包解壓到tomcat的webapp目錄下
在tomcat的conf目錄下找到一個 tomcat-users.xml
添加一行
<user username="probe" password="000000" roles="tomcat,manager,probeuser,poweruserplus,poweruser"/>
其中 root是 登錄的用戶 000000是登錄的密碼;這里可根據需要自己修改;后面的 roles 就是對應的權限了。
重啟tomcat后 ;訪問 http://xxxxx.../probe。彈框中輸入上面說到的 在tomcat-users.xml中配置的 用戶名和密碼 ;即可實時查看tomcat運行情況