ps -ef | grep XXXX(shell脚本名).sh
这里的grep --color=auto 是指进程grep进程本身, 进程3493才是正在执行的shell脚本
执行:kill 3493