Re: zombies/orphans (processes).

From: justin.bleistein@SUNGARD.COM
Date: Wed Aug 07 2002 - 12:34:56 EDT


what compiler should I use, and the syntax to compile it?

                      Dave Simmonds
                      <dave.simmonds@FO To: aix-l@Princeton.EDU
                      RTEL.COM> cc:
                      Sent by: IBM AIX Subject: Re: zombies/orphans (processes).
                      Discussion List
                      <aix-l@Princeton.
                      EDU>

                      08/07/2002 12:23
                      PM
                      Please respond to
                      IBM AIX
                      Discussion List

The following c program does it:

main()
{
        if(!fork())
                exit(0);
        sleep(10000);
}

run it in the background and whilst the parent continues to run (in the
sleep) the child shows as a zombie.

Dave Simmonds

 -----Original Message-----
From: justin.bleistein@SUNGARD.COM [mailto:justin.bleistein@SUNGARD.COM]
Sent: 07 August 2002 16:45
To: aix-l@Princeton.EDU
Subject: zombies/orphans (processes).

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