echo '开始查找tomcat进程'
ID=`ps -fx | grep tomcat | awk '{print $1}'`
echo $ID
echo "开始结束tomcat进程"
for id in $ID
do
kill - $id
echo killed $id
done
echo "tomcat全部结束..."
echo "============================================"
echo "开始启动tomcat"
2022-12-18 19:50:09
echo '开始查找tomcat进程'
ID=`ps -fx | grep tomcat | awk '{print $1}'`
echo $ID
echo "开始结束tomcat进程"
for id in $ID
do
kill - $id
echo killed $id
done
echo "tomcat全部结束..."
echo "============================================"
echo "开始启动tomcat"
下一篇:jQuery插件开发总结