摘要:
cmd="/home/scue/bin/ipclient $ipclient"exist=$(ps aux | grep -v 'grep' | grep "$cmd" | awk '{print $2}')kill_process(){ kill -9 $exist}if [[ "$1" != "" ]] ; then kill_processelse if [[ "$exist" != "" ]]; then kill_process fi 阅读全文
posted @ 2013-08-23 15:00
scue
阅读(454)
评论(0)
推荐(0)
浙公网安备 33010602011771号