jar架包启动命令

nohup java -jar xxx.jar >logs/consoleMsg.log 2>&1 &

 

5. ./start.sh 启动进程
或nohup java -jar xxx.jar >/dev/null 2>&1 &
或nohup java -jar xxx.jar >logs/consoleMsg.log 2>&1 &
nohup java -jar xxx.jar > nohup.out 2>&1 &

nohup java -Xloggc:./wse-gc-%t.log -Xms512M -Xmx1024M -jar xxx.jar > nohup`date +%Y-%m-%d`.out 2>&1 &
nohup java -jar -Xms512M -Xmx1024M xxx.jar > nohup.out 2>&1 &

nohup java -jar xxx.jar >> nohup`date +%Y-%m-%d`.out 2>&1 &

-Xms128M -Xmx256M -XX:PermSize=64M -XX:MaxPermSize=128M
-Xloggc:./wse-gc-%t.log -XX:+PrintCommandLineFlags -version -XX:InitialHeapSize=1052906816 -XX:MaxHeapSize=16846509056 -XX:+PrintCommandLineFlags -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseParallelGC
/usr/java/jdk1.8.0_251/bin/java -Xmx5g -Xms5g -jar plugins/xxx.jar -consoleLog -consolelog -application org.eclipse.mat.api.parse "$@"

posted @ 2024-03-21 17:48  全琪俊  阅读(114)  评论(0编辑  收藏  举报