linux 开启 jmx监控

catalina.sh

在 "Command "行下添加如下一行:

JAVA_OPTS="-Dcom.sun.management.jmxremote.port=9008 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=192.168.1.151" 

你可能感兴趣的:(linux)