Ubuntu下kill僵死进程

一. 安装pstree包

1、在 Mac OS上

  brew install pstree

2、在 Fedora/Red Hat/CentOS

  yum -y install psmisc

3、在 Ubuntu/Debian

 apt-get install psmisc

二. 查看僵死进程

 ps aux | grep 'Z'

三. 清除僵死进程

 kill -9 PID

猜你喜欢

转载自blog.csdn.net/Bat_Reality/article/details/121869739