What is a zombie process?
IntermediateConceptLinux and shell
Answer
A process that has exited but whose parent hasn't called wait() to read its exit status. It uses no CPU or memory, only a PID table entry. You fix it by fixing or killing the parent, not the zombie.
ps -eo pid,ppid,stat,cmd | awk '$3 ~ /Z/'
More on Linux and shell
What does exit code 0 mean, and how do you see the last command's exit code?BeginnerHard link vs soft link?BeginnerWhat do the permissions `755` and `640` mean?BeginnerHow do you find which process is using the most CPU right now?BeginnerSIGTERM vs SIGKILL?BeginnerWhat does `load average: 4.00 2.00 1.00` tell you?Intermediate