A zombie is already dead, so you cannot kill it. To clean up a zombie, it must be waited on by its parent, so killing the parent should work to eliminate the zombie. (After the parent dies, the zombie will be inherited by init, which will wait on it and clear its entry in the process table.) If your daemon is spawning children that become zombies, you have a bug. Your daemon should notice when its children die and wait on them to determine their exit status.

Example command:

kill $(ps -A -ostat,ppid | awk '/[zZ]/{print $2}')

  

最新文章

  1. 踏上Salesforce的学习之路(一)
  2. s1=s1+1与s1+=1的区别
  3. 深入理解Redis:命令处理流程
  4. OpenCV中IplImage和Mat间的相互转换
  5. Java中的队列:java.util.Queue接口
  6. MS-DOS 7.10完整安装版(含图文安装程序)
  7. Android技术精髓-Bitmap详解
  8. LoaderManager使用具体解释(二)---了解LoaderManager
  9. [转] Building xnu for OS X 10.10 Yosemite
  10. 浏览器特性检测插件Feature.js
  11. LeetCode & 118-Pascal's Triangle-Easy
  12. HDFS 读写数据流程
  13. 《FPGA全程进阶---实战演练》第一章之FPGA介绍
  14. 关于Floyd求解最小环的问题
  15. 百视通与微软共同宣布9月在华发布Xbox One
  16. Anaconda+django写出第一个web app(五)
  17. HashSet、HashMap、Hashtable、TreeMap循环、区别
  18. 64位win10系统无法安装.Net framework3.5的两种解决方法【转】
  19. hdu5698瞬间移动(杨辉三角+快速幂+逆元)
  20. mysql 研发规范

热门文章

  1. phome_enewsclass 数据表字段解释(栏目主表)
  2. 只有小于65535端口编程可以用,查看哪些端口被打开netstat -anp,nc命令,nmap命令
  3. When Is Cheryl's Birthday
  4. 2014年辛星Javascript解读第二节
  5. [SAP] 外部系统调用SAP web service用户验证的简单方法
  6. Dojo实现Tabs页报错(一)
  7. HTML+CSS笔记 CSS中级 一些小技巧
  8. https tomcat 证书搭建
  9. cocos2dx定时器
  10. 合理设计C代码 函数笔记