- 1

What is the difference between a zombie process and an orphan process?

If child process terminates before parent and parent does not query the exit code of a terminated child process, then the entry of the child process continues to exit in the process table. Such a child process is said to be a 'Zombie'. If the parent terminates without querying the zombie child process is treated as an 'Orphan' process. Also when the parent process terminates and child processes are still running , then such child process are called as 'Orphan' process.

2nd Aug 2019, 2:43 AM
Vikas Mishra
Vikas Mishra - avatar
1 ответ