The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
zombie process jeenat Linux 5 03-28-2008 03:36 AM
zombie processes and hung process termination ukndoit Shell Programming and Scripting 2 03-13-2008 10:53 PM
how to handle a zombie process mridula High Level Programming 1 12-06-2005 01:47 PM
zombie daemon process!! rish2005 UNIX for Advanced & Expert Users 1 11-25-2005 05:59 AM
Zombie process orca UNIX for Dummies Questions & Answers 8 04-26-2002 11:54 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-22-2004
Registered User
 

Join Date: Oct 2004
Posts: 1
Zombie process

I would like to create a zombie process so that I can test monitoring software functionality. Any techniques?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-22-2004
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
You can try this
- look for Zombie processes.
Reply With Quote
  #3 (permalink)  
Old 10-22-2004
Registered User
 

Join Date: Sep 2003
Location: Canada
Posts: 56
That PERL code creates a zombie:
Code:
if (fork() > 0) { while (1) { sleep 60*60; }; };
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:49 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0