What is the functions of zambie process?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do chmod command do?

606


Write a command that will display files in the current directory, in a colored, long format.

689


What is {} in find command?

584


What do know about tee command?

607


What is a bash command?

627






What is the use of tee command?

573


Is it inbetween or in between?

589


What difference between cmp and diff commands?

729


What does the command ' $who | sort –logfile > newfile' do?

774


Which unix command to make a new directory?

594


Explain the steps that a shell follows while processing a command.

683


How to use grep command to list find the records of a file containing 10 different strings?

650


What are reported commands?

570


What is awk good for?

590


What is the difference between cat and more command?

627