Linux问题集锦

问题一:如何kill掉defunct进程

       

       资料说defunct进程是父进程先于子进程退出而导致的,那么kill defunct进程的父进程就可以解决defunct进程了。方法如下:ps -ef|grep defunct     显示defunct进程列表,其中第三项即是PPID,父进程的PID。

       另外附上查询结果每列的含义:

-f        Display the uid, pid, parent pid, recent CPU usage, process start time, controling tty, elapsed CPU usage, and the associated command.  If the -u option is also used, display the user name rather than the numeric uid.  When -o or -O is used to add to the display following -f, the command field is not truncated as severely as it is in other formats.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值