1)配置 打开setenv.sh,添加如配置: CATALINA_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9000 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false"

2)重启tomcat ./catalina.sh stop|start

3)远程连接 ./jconsole 192.168.6.6:9000

refere:https://geekflare.com/enable-jmx-tomcat-to-monitor-administer/