jvm remote monitoring (visual vm)
Visual VM can monitor local applications or remote applications through configuration
****************************
Related operations
Add parameters for application startup
-Djava.rmi.server.hostname=192.168.57.127 ##远程应用ip
-Dcom.sun.management.jmxremote.port=1099 ##jmx监听端口
-Dcom.sun.management.jmxremote.ssl=false ##不是用https连接
-Dcom.sun.management.jmxremote.authenticate=false ##使用密码连接
Add a remote host
Add jmx connection
Port number: 1099
Monitor page