What is a zombie?Zombie is a process state when the child dies before the parent process. In this case the structural information of the process is still in the process table. Since this process is not alive, it cannot react to signals. Zombie state can finish when the parent dies. All resources of the zombie state process are cleared by the kernelWhat is a zombie?A zombie is a process which is completed the execution and still available in the process table. At the end of any process, all the memory resources pertaining to that process will be deallocated and can be used by other processes. The entry of the process will remain available.
The exit status of a child can be read by the parent by using the wait system call, the stage at which the zombie is removed. Once the zombie is removed, then the process id in the process table be removed and can be reused.
|