标签:
查找进程:
ps -aux | grep flume / netstat -anop | grep 8080(端口号)
常规杀进程: kill pid
查看僵死进程:
ps -A -o stat,ppid,pid,cmd | grep -e ‘^[Zz]‘
杀掉
kill -9 pid
自动查杀僵死进程指令:
ps -A -o stat,ppid,pid,cmd | grep -e ‘^[Zz]‘ | awk ‘{print $2}‘ | xargs kill -9
参考: http://ask.chinaunix.net/question/466
标签:
原文地址:http://www.cnblogs.com/gongxijun/p/5649231.html