linux root杀不死进程,为什么进程杀不死啊?__root_0.0_mingetty_sbin_30199__169IT.COM

[root@localhost work]# ps -au

Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND

root      2926  0.0  0.0   1628   440 tty1     Ss+  18:09   0:00 /sbin/mingetty

root      2937  0.0  0.0   1628   436 tty2     Ss+  18:09   0:00 /sbin/mingetty

root      2938  0.0  0.0   1624   432 tty3     Ss+  18:09   0:00 /sbin/mingetty

root      2939  0.0  0.0   1624   436 tty4     Ss+  18:09   0:00 /sbin/mingetty

root      2940  0.0  0.0   1624   436 tty5     Ss+  18:09   0:00 /sbin/mingetty

root      2969  0.0  0.0   1624   432 tty6     Ss+  18:09   0:00 /sbin/mingetty

root      3027  1.4  5.5  35088 28728 tty7     Ss+  18:09   1:14 /usr/bin/Xorg :

root      3896  0.0  0.2   4860  1468 pts/2    Ss   18:10   0:00 bash

root     30198  0.1  4.3  81556 22324 pts/2    S    19:30   0:00 gedit 1.c

root     30199  0.0  0.0   3916   488 pts/2    T    19:30   0:00 cat e

root     30288  0.0  0.1   4464   936 pts/2    R+   19:32   0:00 ps -au

[root@localhost work]# kill 30199

[root@localhost work]# ps -au

Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND

root      2926  0.0  0.0   1628   440 tty1     Ss+  18:09   0:00 /sbin/mingetty

root      2937  0.0  0.0   1628   436 tty2     Ss+  18:09   0:00 /sbin/mingetty

root      2938  0.0  0.0   1624   432 tty3     Ss+  18:09   0:00 /sbin/mingetty

root      2939  0.0  0.0   1624   436 tty4     Ss+  18:09   0:00 /sbin/mingetty

root      2940  0.0  0.0   1624   436 tty5     Ss+  18:09   0:00 /sbin/mingetty

root      2969  0.0  0.0   1624   432 tty6     Ss+  18:09   0:00 /sbin/mingetty

root      3027  1.4  5.5  35088 28728 tty7     Ss+  18:09   1:14 /usr/bin/Xorg :

root      3896  0.0  0.2   4860  1468 pts/2    Ss   18:10   0:00 bash

root     30198  0.1  4.3  81556 22324 pts/2    S    19:30   0:00 gedit 1.c

root     30199  0.0  0.0   3916   488 pts/2    T    19:30   0:00 cat e

root     30302  0.0  0.1   4460   932 pts/2    R+   19:33   0:00 ps -au

[root@localhost work]#

|

kill -9 30199

|

kill -SIGKILL 30199

kill -KILL 30199

kill -9 30199

如果是这样还不行的话,有可能是程序调用内核的某部分不能释放资源,而停留。

|

楼上正解!

|

或者:

kill -SIGKILL 30199

kill -KILL 30199

|

kill -9强制杀死

|

强制杀死

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值