What is the functions of zambie process?

Answers were Sorted based on User's Feedback



What is the functions of zambie process?..

Answer / sandeep patra

guys, we can think of zombie process as a GHOST. when a
person (having some unfinished business on earth) dies they
become ghost, means they are dead but they have there
existence on this earth. Just like that if a process died
but it's existence remains in the process entry table then
that process became Zombie.

now who is going to clean this mess?
so it is the work of the parent process to clean this thing
by waiting on the child process.
if the parent process don't clean up this mess then it would
be the work of operating system to release these resources
when process entry table would be looked up again

Regards,
Sandy :)

Is This Answer Correct ?    20 Yes 0 No

What is the functions of zambie process?..

Answer / guest


When a process ends, all of the memory and resources
associated with it are deallocated so they can be used by
other processes. However, the process's entry in the
process table remains. The parent can read the child's exit
status by executing the wait system call, at which stage
the zombie is removed. The wait call may be executed in
sequential code, but it is commonly executed in a handler
for the SIGCHLD signal, which the parent is sent whenever a
child has died.

After the zombie is removed, its process ID and entry in
the process table can then be reused. However, if a parent
fails to call wait, the zombie will be left in the process
table. In some situations this may be desirable, for
example if the parent creates another child process it
ensures that it will not be allocated the same process ID.

Is This Answer Correct ?    9 Yes 0 No

What is the functions of zambie process?..

Answer / guest

the process executed the exit system call

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Unix Commands Interview Questions

What does the “echo” command do?

0 Answers  


What is the command to view process running?

0 Answers  


what are the different commands used to view the contents of a file?

5 Answers  


What are the differences among a system call, a library function, and a unix command?

0 Answers  


their is a file1,file2 and i want to append file1 data to file2?

9 Answers   IBM,






How will you know who are the users logged in to the system before 15 minutes?

4 Answers   Amazon,


Assume that a file’s permissions give you read and write access. What operations can you perform on the file if it is in a directory which has “r”(read) only process? What operations can you perform on the file if it is in a directory which has “x”(execute) only access?

1 Answers  


what is the use of wild cards?

2 Answers  


Why we are using UNIX OS when we are doing the testing in our application?

5 Answers   IBM,


hi i have directories within the directory. Now i want to copy the directory along with all directories included in it to one location by using copy command? what is the command

2 Answers   ACS, Span Systems,


what will this do $cat > file.c ?(file.c is a file in current directory)

20 Answers   IBM,


How to get a particular string as your prompt ? Give syntax of that command?

3 Answers  


Categories