Get the App
SLTechnology News&Howtos  ›  Servers  › 

Write down the handling of a zombie process

Shulou Source: shulou.com Published: 2022-06-03 08:49:30 10月04日 Update

(1) insufficient memory available for monitoring and alarm:

(2) Log in to the service to view

The cache does not take up much memory.

(3) top to check the overall status of the system

10 zombie processes found

Linux downloading processes occupy the top 10 processes with the highest cpu

Ps aux | head-1; ps aux | grep-v PID | sort-rn-k + 3 | head

Linux fetch the top 10 processes with the highest mem footprint

Ps aux | head-1; ps aux | grep-v PID | sort-rn-k + 4 | head

(4) the process of finding out the status bit z

Shell > ps-aux |

(5) filter according to the description of the zombie process

Found all the zombie processes, if you want to kill the zombie process, it is best to find the parent process, and then kill it, directly kill the zombie process may not kill

(6) find the parent process of the zombie process

Kill

Tags: Process zombie memory maximum status overall best monitoring alarm system cache alarm service login monitoring processing Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux NVidia Microsoft vpn MariaDB