Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Could you tell me the meaning of a "zombie process" and give an example.

share|improve this question
5  
If you hover over the vote icons you will see one reason for downvoting questions is when it doesn't show any research effort. Questions about zombie process are quite valid here, but you should have done a little searching to see if you could find the existing documentation, then asked a more informed/specific question if you couldn't understand something. –  Caleb Jul 26 '11 at 8:07
    
Tagged homework? Oh, really? –  alex Jul 26 '11 at 13:55
    
@Celeb thanks for your recommended^^ –  asdf Jul 26 '11 at 14:21
    
@alex it's a intro question on my class –  asdf Jul 26 '11 at 14:22
1  
@alex: That's not actually true; they are fine but they have to be done right. This one was not done right, as I noted in my first comment. See here and here for where homework policies have been discussed on meta. 1eftHer0: You should read those too along with the FAQ in order to better understand what is considered acceptable and not. Your question actually has issues whether it was homework or not; you should always show your research and attempted solutions. –  Caleb Jul 26 '11 at 18:59
show 2 more comments

closed as too broad by Renan, slm, l0b0, Anthon, jlliagre Dec 21 '13 at 7:33

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

up vote 4 down vote accepted

From Wikipedia:

On Unix and Unix-like computer operating systems, a zombie process or defunct process is a process that has completed execution but still has an entry in the process table. This entry is still needed to allow the process that started the (now zombie) process to read its exit status.
[...]
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.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.