- APP_ENTRY=org.tio.sitexxx.all.Starter
- BASE=$(cd `dirname $0`; pwd)
- echo BASE:${BASE}
- CP=${BASE}/config:${BASE}/lib/*
- nohup java -Xverify:none -Xms5g -Xmx5g -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/java-tio-pid.hprof -cp ${CP} ${APP_ENTRY} > log.log & tail -f log.log
复制代码 |