Re: zombies/orphans (processes).

From: Dave Simmonds (dave.simmonds@FORTEL.COM)
Date: Wed Aug 07 2002 - 12:23:26 EDT


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