当使用系统的时候,发现有僵尸进程,建议kill掉。
具体方法如下: 输入命令:
top
top命令发现系统存在三个僵尸进程: 3 zombie
通过输入下面的命令
ps -e -o stat,ppid,pid,cmd | egrep '^[Zz]'
将系统认为是僵尸进程的状态信息、父进程PID、自身PID、以及运行的cmd列出三个僵尸进程
Z 1506 16110 [pure-ftpd]
Z 1811 20680 [php]
Z 2017 35384 [php]
使用命令,杀掉相关进程。具体个是:kill -9 pid杀死具体进程,或者一起杀死
ps -A -o stat,ppid,pid,cmd | grep -e '^[Zz]' | awk '{print $2}' | xargs kill -9 //一次性杀死所有zombie进程
kill -9 1506 //单独杀死某个进程
Kill -9 20680
kill -9 35384
在使用top查看,僵尸进程就已经没了。
版权属于: 三三世界-百宝箱
本文链接: http://33f.net/linux/centos_kill_zombie.html
本文最后更新于2021年11月26日 ,已超过1121天没有更新,若内容或图片失效,请留言反馈。
本文允许转载,但请在转载时请以超链接或其它形式标明文章出处
@Doug Shume it's ok for me , you can post here.
Saved as a favorite, I like your website!
If some one wishes to be updated with hottest technologies after that he must be visit this site and be up to date daily.
Heello would you mind sharing which blog platform you're using? I'm planning to start my own blog in the near future but I'm having a tough time making a decision between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your layout seems different then moost blogs and I'm looking for something completely unique. P.S Apologies forr being off-topic butt I had to ask!
Thanks to my father who shared with me regarding this webpage, this website is genuinely amazing.
Hi, I have an overflow of customers that I'd like to send to you but I want to make sure you can handle more leads, let me know if you'd like me to send you more info.
zh.us.to 有效
kms.03k.org 有效
kms.chinancce.com
kms.shuax.com 有效
kms.dwhd.org 有效
kms.luody.info 有效
kms.digiboy.ir 有效
kms.lotro.cc 有效
www.zgbs.cc 有效
cy2617.jios.org 有效
@ 权限问题,试试sudo 再加命令。
你好提示Permission denied 怎么办啊