stop.sh 179 字节 原文件 审查 历史 永久链接 1 2 3 4 5 6 7 #!/bin/bash PIDFILE=/home/agent/agent_imf_send/process.pid echo " Current module will shutdown ..." pid=`cat $PIDFILE | awk 'echo $1'` echo "pid:$pid" kill -9 $pid rm -f $PIDFILE