Tomcat的重启shell脚本

最近作性能测试,每次测试完成都要重启tomcat,索引很麻烦,为此写了一个简单的shell脚本linux #!/bin/shshell #kill tomcat pidtomcat pidlist=`ps -ef|grep tomcat_message_8002|grep -v "grep"|awk '{print $2}'`  //找到tomcat的PID号app -   echo "tomca
相关文章
相关标签/搜索