/usr/local/tomcat7/bin/shutdown.sh sleep 5 #具体时间就看你得webapp在调用shutdown.sh后多久后处于僵死状态 ps -ef | grep ‘tomcat‘ | grep -v grep| awk ‘{print $2}‘ | xargs kill -9 sleep 2 /usr/local/tomcat7/bin/startup.sh
时间: 2024-10-08 18:56:21
/usr/local/tomcat7/bin/shutdown.sh sleep 5 #具体时间就看你得webapp在调用shutdown.sh后多久后处于僵死状态 ps -ef | grep ‘tomcat‘ | grep -v grep| awk ‘{print $2}‘ | xargs kill -9 sleep 2 /usr/local/tomcat7/bin/startup.sh