Chủ Nhật, 22 tháng 7, 2018

jmxremote jvm

# Arguments to pass to the JVM
JVM_OPTS=" \
-Dzname=$ZNAME \
-Dzport=$ZPORT \
-Xmx$XMX \
-Xdebug -Xrunjdwp:transport=dt_socket,address=$XDEBUG,server=y,suspend=n\
-XX:SurvivorRatio=8 \
        -XX:TargetSurvivorRatio=90 \
        -XX:+AggressiveOpts \
        -XX:+UseParNewGC \
        -XX:+UseConcMarkSweepGC \
        -XX:+CMSParallelRemarkEnabled \
        -XX:MaxTenuringThreshold=2 \
-Djava.rmi.server.hostname=$JMXHOST \
-Dcom.sun.management.jmxremote.rmi.port=9404
-Dcom.sun.management.jmxremote \
        -Dcom.sun.management.jmxremote.port=$JMXPORT \
-Dcom.sun.management.jmxremote.local.only=false \
        -Dcom.sun.management.jmxremote.ssl=false \
        -Dcom.sun.management.jmxremote.authenticate=false"