sentinel-dashboard-1.8.0.jar的启动命令设置

发布时间 2023-12-21 15:14:52作者: 难搞2023
NAME=`ls -1r /opt/sentinel/sentinel-dashboard-1.8.0.jar | head -1`
nohup java  -Dfile.encoding=utf-8  -Xloggc:gc.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=test.hprof   -jar $NAME   --server.port=8070  -Dsentinel.dashboard.auth.username=sentinel  -Dsentinel.dashboard.auth.password=123456  -Dserver.servlet.session.timeout=7200 >console.log & 

 

针对linux上进行流控的操作可以设置如上