2016年6月2日 星期四

找出存在的 Shell script 的Process ID 並 kill

ps -ef | grep your_process_name | grep -v grep | awk '{print $2}' | xargs kill

參考

沒有留言:

張貼留言