Linux环境部署停服之stop.sh


ps -ef | grep "包名"  | grep -v grep| awk '{print $2}'|xargs kill -9|| echo $?
echo "包名 is stopping..."

你可能感兴趣的:(Linux,linux)