What Is Zombie Process in Unix?
Contents on Unix and Unix-Like Computer Operating Systems, a Zombie Process or Defunct Process Is a Process That Has Completed Execution (Via the Exit System...
On Unix and Unix-like computer operating systems, a zombie process or defunct process is a process that has completed execution (via the exit system call) but still has an entry in the process table: it is a process in the “Terminated state”.
How do I find zombie process in Unix?
Zombie processes can be found easily with the ps command. Within the ps output there is a STAT column which will show the processes current status, a zombie process will have Z as the status.
Must Read
What causes a zombie process?
Zombie processes are when a parent starts a child process and the child process ends, but the parent doesn’t pick up the child’s exit code. The process object has to stay around until this happens – it consumes no resources and is dead, but it still exists – hence, ‘zombie’.