jconsole监控远程运行在centos上的spring boot程序

1.定义环境变量 因为须要设置的java启动参数较多,故而将其设置到环境变量中,在/etc/profile 最后一行增长java export JAVA_OPTS='-Djava.rmi.server.hostname=192.105.90.192 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8888 -Dc
相关文章
相关标签/搜索