Java thread monitoring jvisualvm and jstack

Five states of threads New: new Run: runnable Waiting: waiting (waiting indefinitely), timed waiting (waiting within a time limit) blocked: blocked End: terminated Thread conversion relationship Two monitoring methods for threads 1. Graphical interface method: jvisualvm Before monitoring, first add monitoring parameters to the jvm. In the catalina.sh file in the bin directory of tomcat, […]

jvisualvm ssl remote connection JVM

jvisualvm remote ssl connection Article directory 1. Unauthenticated JMX connection (unsafe) 2. JMX connection authenticated by SSL certificate (secure) 1. Enter the directory where the certificate is generated and execute the script 2. One-click key generation script: 3. When running the jar package on the server side, enable the ssl connection: 4. Client remote SSL […]