The shell script automatically ends the java process and then starts Tomcat

The shell script automatically ends the java process and then starts Tomcat

 

ps aux|grep tomcat| grep -v "grep" | awk '{print $2}' | xargs kill -9

 

 

Tomcat5.5/bin/startup.sh

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326610474&siteId=291194637