[jdk命令工具]jconsole远程项目监控
入口:catalina.sh
JAVA_OPTS="$JAVA_OPTS -server -Xms8192M -Xmx8192M -Djava.awt.headless=true -XX:PermSize=256M -XX:MaxPermSize=768M -Xloggc:gc.log -XX:+PrintGCDetails -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=29001 -Dcom.sun.management.jmxremote.ssl=false -XX:HeapDumpPath=../dumpfile.hprof -XX:+HeapDumpOnOutOfMemoryError"
远程地址:192.168.8.56:29001 (用户名,密码不需要填写)