echo 3 > /proc/sys/vm/drop_caches;
netstat -tunlp
netstat -pan | grep 3316 | wc -l
netstat -an|grep 8888
netstat -nat | grep -i “8888” | wc -l
ps -ef | grep “chrome” | grep -v grep | cut -c 9-15 | xargs kill -9
xxl-job项目,该目录为jar包发布【目录:/home/java/xxl-job】
1)cd /home/java/xxl-job
2)ps -ef|grep xxl-job
3)nohup java -jar xxl-job-admin-2.0.1.jar > /data/logs/xxl-job/xxl-job-admin.log 2>&1 &
4)nohup java -jar xxl-job-executor-2.0.1.jar > /data/logs/xxl-job/xxl-job-executor.log 2>&1 &
JVM调优:nohup java -jar -Xmx4g -Xms4g -Xmn2048m -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=512m xxl-job-executor-2.0.1.jar > /data/logs/xxl-job/xxl-job-executor.log 2>&1 &
1)cd /home/java/apache-tomcat-service/bin
2)ps -ef|grep apache-tomcat-service
3)kill -9 17790
4)sh startup.sh
5)cd /home/java/apache-tomcat-service/logs
6)tailf catalina.out