Unix/Linux Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

whats the difference between zombie orpha and defunct processes

UNIX for Dummies Questions & Answers


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 04-03-2008
pbsrinivas pbsrinivas is offline
Registered User
 
Join Date: Jul 2006
Last Activity: 22 August 2012, 4:55 PM EDT
Posts: 141
Thanks: 0
Thanked 0 Times in 0 Posts
whats the difference between zombie orpha and defunct processes

can some one please explain

zombie
orphan
defunct

and how they r related
Sponsored Links
    #2  
Old Unix and Linux 04-03-2008
pbsrinivas pbsrinivas is offline
Registered User
 
Join Date: Jul 2006
Last Activity: 22 August 2012, 4:55 PM EDT
Posts: 141
Thanks: 0
Thanked 0 Times in 0 Posts
before someone thinks this is a home work it not Linux

let me tell what my idea was till date

zombie process or defunct process is a process that has completed execution but still has an entry in the process table

then y 2 different names

orphan is one who's parent process is killed

but now i feel like a Linux

form search i got

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.(at this point is the node orphan ???? )

The parent can read the child's exit status by executing the wait system call, at which stage the zombie is removed.

now y is orphan not same as zombie

pls let me know

thnx
Sponsored Links
    #3  
Old Unix and Linux 04-03-2008
pbsrinivas pbsrinivas is offline
Registered User
 
Join Date: Jul 2006
Last Activity: 22 August 2012, 4:55 PM EDT
Posts: 141
Thanks: 0
Thanked 0 Times in 0 Posts
i got a beautiful article for zombie and orphan

WikiAnswers - What is Zombie Process and Orphan Process

that leaves me with one question

zombie and defunct are one and the same???
    #4  
Old Unix and Linux 04-03-2008
Perderabo's Unix or Linux Image
Perderabo Perderabo is offline Forum Staff  
Unix Daemon (Administrator Emeritus)
 
Join Date: Aug 2001
Last Activity: 27 April 2015, 10:26 AM EDT
Location: Ashburn, Virginia
Posts: 9,931
Thanks: 64
Thanked 447 Times in 264 Posts
Quote:
Originally Posted by pbsrinivas View Post
zombie and defunct are one and the same???

Not exactly, the ps command checks to see if a process is in the zombie state. If so, it will display <defunct> as the name and as the command line of the process. But the author of ps could have picked "nonesuch" or "tilt" or "not at home" just as easily. The kernel knows what a zombie is, but it never heard of "<defunct>".
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
defunct processes? steadyonabix UNIX for Advanced & Expert Users 2 05-21-2010 10:07 AM
Mailing me the Defunct/Zombie/Orphan mehimadri Shell Programming and Scripting 7 11-26-2009 11:03 PM
Defunct Processes trokia88 AIX 6 09-09-2008 06:08 PM
Question about defunct processes EMCSANMAN UNIX for Dummies Questions & Answers 1 02-08-2008 12:03 PM
<DEFUNCT> Processes cuppjr UNIX for Dummies Questions & Answers 4 02-26-2001 05:55 PM



All times are GMT -4. The time now is 04:31 PM.