启动命令

nohup  java -jar  /opt/spring-cloud-eureka-1.0.0.jar > /opt/eureka1.log --spring.profiles.active=server1 &
#!/bin/bash
/home/jdk/jdk1.8.0_131/bin/java -Xmn512m -Xmx1024m -Xss256k -XX:+UseConcMarkSweepGC -XX:CMSFullGCsBeforeCompaction=5 -XX:+UseCMSCompactAtFullCollection -XX:+PrintGC -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:/tmp/mp-base-jvm.log -XX:+HeapDumpOnOutOfMemoryError -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=4447 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -XX:HeapDumpPath=/tmp/mp-base-heapdump.hprof -Dfile.encoding=utf-8  -jar /usr/local/mp-base/mp-base.jar > /data/log/mp-base.log &
java -jar -DfileSystem=HDFS  mp-base.jar
posted @ 2019-12-19 15:04  ytsee  阅读(43)  评论(0)    收藏  举报