Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Probe, a sharp weapon for Tomcat monitoring

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Probe introduction

The guy changed his name three times and finally changed his name to psi-probe, which was downloaded from googlecode and has now migrated to github. It is mainly used to monitor Tomcat.

download

Https://github.com/psi-probe/psi-probe/releases

Generally, you can download the war package. Put the downloaded war package into the webapp directory of tomcat.

Configure permissions

To access probe, you need to configure the permissions of tomcat. Modify the tomcat-users.xml and add it to the tag

Configuration parameters

If it is under windows, modify conf/catalina.bat and add set JAVA_OPTS=-Dcom.sun.management.jmxremote

If it is under linux, modify conf/catalina.sh and add export JAVA_OPTS=$JAVA_OPTS "- Dcom.sun.management.jmxremote"

Start tomcat to access probe

After the above steps are completed, you can start tomcat, and then visit the browser: http://localhost:8080/probe, you can see something similar to the following figure

Introduction to probe tags

For the running apps on Applecations:tomcat, you can see the status, number of requests, and number of session of each application. Click in to view the details.

Data sources for Data Sources:tomcat

Deployment: code deployment, select a war and deploy

Logs:tomcat log

Threads:tomcat thread, you can view the status of the thread and other information, but also kill the thread

Cluster:tomcat cluster

System Information: system information

Connectors:connector information, you can see the number of requests per second, response time, etc.

Quick check: quickly detect tomcat data sources, memory, etc.

More information can be found on the official website: https://psi-probe.github.io/psi-probe/

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report