Unix - What is a zombie?

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 kernel

What 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.
Unix - How do you create special files like named pipes and device files?
How do you create special files like named pipes and device files? - Using the mknod command, special files can be created......
Unix - How do I use poll()?
How do I use poll()? - Poll() in UNIX is used for to wait for some event on a file descriptor.........
What is a compiler? - operating system
A compiler is a program that takes a source code as an input and converts it into an object code......
Post your comment