Tomcat参数
解析Tomcat的启动脚本--startup.bat:https://www.jb51.net/article/99857.htm
解析Tomcat的启动脚本--catalina.bat:https://www.jb51.net/article/99869.htm
监控配置:
JAVA_OPTS="$JAVA_OPTS -server -Xms1024M -Xmx1024M -Xmn384M -XX:MetaspaceSize=256M -XX:MaxMetaspaceSize=512M -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/heapdump -Dcom.sun.management.jmxremote.port=9005 -Dcom.sun.management.jmxremote.rmi.port=9005 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=172.16.8.36"