Last active
June 10, 2021 10:48
-
-
Save xinyii/7bcbbcb3d23a8458a9e095f9f4dfbe45 to your computer and use it in GitHub Desktop.
[JMX Remote] #java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nohup java -jar \ | |
-Dcom.sun.management.jmxremote=true \ | |
-Dcom.sun.management.jmxremote.host=127.0.0.1 \ | |
-Dcom.sun.management.jmxremote.port=9090 \ | |
-Dcom.sun.management.jmxremote.ssl=false \ | |
-Dcom.sun.management.jmxremote.authenticate=false \ | |
-Djava.rmi.server.hostname=127.0.0.1 \ | |
xxx.jar &>/dev/null & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment