1. 程式人生 > >linux殺程序指令碼

linux殺程序指令碼

for i in `ps -ef|grep "retail"|grep -v grep|awk '{print $2}'`;
do kill -9 $i;
done
/usr/local/retail-http/bin/startup.sh
/usr/local/retail-srv/bin/startup.sh
/usr/local/retail-prom/bin/startup.sh
ps -ef|grep retail