Re: zombies/orphans (processes).

From: justin.bleistein@SUNGARD.COM
Date: Thu Aug 08 2002 - 08:23:59 EDT


and the explanation that Bruce gave is why I couldn't figure out how to do
it. But the C script helped thanks!.

--Justin

                      Dave.Zarnoch@SUNG
                      ARD.COM To: aix-l@Princeton.EDU
                      Sent by: IBM AIX cc:
                      Discussion List Subject: Re: zombies/orphans (processes).
                      <aix-l@Princeton.
                      EDU>

                      08/08/2002 07:11
                      AM
                      Please respond to
                      IBM AIX
                      Discussion List

Thanks!

That's a "keeper"...

Dave Zarnoch
UNIX Systems Administration
SunGard eSourcing
600 Laurel Oak Rd.
Voorhees, NJ 08043
Dave.Zarnoch@sungard.com

                      Bruce Zimmer
                      <b.r.zimmer@WORLDN To:
                      aix-l@Princeton.EDU
                      ET.ATT.NET> cc:
                      Sent by: IBM AIX Subject: Re:
                      zombies/orphans (processes).
                      Discussion List
                      <aix-l@Princeton.E
                      DU>

                      08/07/2002 06:02
                      PM
                      Please respond to
                      IBM AIX Discussion
                      List

Nope, when any process terminates, all of the processes children are
adopted by init. The main purpose of init on a running system is to
reap the status of orphaned processes. A zombie is a process that has
been terminated but not yet had its status read by its parent process.

Bruce Zimmer
Central Data Systems
(248) 615-4644 (direct)
(248) 705-9231 (cell)
bzimmer@centraldata.com

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
Dave.Zarnoch@SUNGARD.COM
Sent: Wednesday, August 07, 2002 12:39 PM
To: aix-l@Princeton.EDU
Subject: Re: zombies/orphans (processes).

How about....

Create a process that forks another process and then goes to sleep

The "forked" process than will kill the previous parent sleeping process

Wouldn't this form an orphan?

Dave Zarnoch
UNIX Systems Administration
SunGard eSourcing
600 Laurel Oak Rd.
Voorhees, NJ 08043
Dave.Zarnoch@sungard.com

                      justin.bleistein@
                      SUNGARD.COM To:
aix-l@Princeton.EDU
                      Sent by: IBM AIX cc:
                      Discussion List Subject: zombies/orphans
(processes).
                      <aix-l@Princeton.
                      EDU>

                      08/07/2002 11:45
                      AM
                      Please respond to
                      IBM AIX
                      Discussion List

Does anyone know of away to create your own zombies/orphans in AIX/Unix.
I
want to create them intentionally for presentation purposes. thanks!.

--Justin Richard Bleistein



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:07 EDT