This commit is contained in:
10
Docs/Linux清理僵尸进程.md
Normal file
10
Docs/Linux清理僵尸进程.md
Normal file
@@ -0,0 +1,10 @@
|
||||
> 本文作者:丁辉
|
||||
|
||||
# Linux清理僵尸进程
|
||||
|
||||
> 使用 top 命令查看 zombie 代表为僵尸进程的数量
|
||||
|
||||
```bash
|
||||
ps -A -o stat,ppid,pid,user,cmd | grep -e '[Zz]' | awk '{print $2}' | xargs kill
|
||||
```
|
||||
|
Reference in New Issue
Block a user