Tomcat remote monitoring

//Specific steps are as follows:
1. Use JDK's own jvisualvm.exe tool for local and remote monitoring
  C:\Program Files\Java\jdk1.6.0_45\bin\jvisualvm.exe
2. Local monitoring
  Run jvisualvm.exe on this machine, and select the local Tomcat to be monitored to view information such as memory, threads, cpu, and objects.
3. Remote monitoring
  Modify the bin/catalina.sh file of the remote Tomcat application server and add the following configuration information to the first line:
  JAVA_OPTS="-Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=120.25.233.113"
  Start the application Tomcat ./startup.sh
4. Run the local jvisualvm.exe, add the remote host, and select the JMX connection for monitoring
 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326613935&siteId=291194637