dockerfile,jekins,jvm開啓jmx內存線程監視

docker

ENTRYPOINT ["java","-Xms1g","-Xmx1g", \
"-XX:+PrintGCDetails", \
"-XX:+PrintGCTimeStamps", \
"-XX:+HeapDumpOnOutOfMemoryError", \
"-Djava.rmi.server.hostname=127.0.0.1", \
"-Dcom.sun.management.jmxremote=true", \
"-Dcom.sun.management.jmxremote.rmi.port=9000", \
"-Dcom.sun.management.jmxremote.port=9000", \
"-Dcom.sun.management.jmxremote.ssl=false", \
"-Dcom.sun.management.jmxremote.authenticate=false", \
"-Dcom.sun.management.jmxremote.local.only=false", \
"-jar","/app.jar"]

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章