The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Diff b/n kill and kill -9 ammu UNIX for Advanced & Expert Users 2 07-18-2007 02:29 PM
When kill doesnt work, how to kill a process ? VijayHegde UNIX for Advanced & Expert Users 3 05-12-2006 01:24 PM
FreeBSD, fork() and zombies PsycoMan High Level Programming 2 03-22-2006 03:58 AM
No zombies! nucca UNIX for Dummies Questions & Answers 3 07-08-2001 08:13 PM
Zombies karpolu UNIX for Dummies Questions & Answers 1 02-13-2001 08:15 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-05-2005
Registered User
 

Join Date: Feb 2004
Location: Mozambique
Posts: 17
How can i kill Zombies

Hi All

I need help, how can i kill zombies instead of rebooting the system.
Regards

System: sna Tue Apr 5 17:50:23 2005

Load averages: 0.05, 0.15, 0.22

168 processes: 157 sleeping, 5 running, 6 zombies

Cpu states:

CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS

0 0.05 0.0% 0.0% 0.4% 99.6% 0.0% 0.0% 0.0% 0.0%

1 0.05 0.0% 0.0% 0.4% 99.6% 0.0% 0.0% 0.0% 0.0%

--- ---- - - - - - - - -----

avg 0.05 0.0% 0.0% 0.4% 99.6% 0.0% 0.0% 0.0% 0.0%



Memory: 473796K (87484K) real, 322940K (78680K) virtual, 2442524K free Page# 1/

14
Reply With Quote
Forum Sponsor
  #2  
Old 04-05-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
zombies are already dead. To make them go away, kill their parent process (which really should be reaping its dead children). This will make init inherit the zombies and init will reap them.
Reply With Quote
  #3  
Old 04-25-2005
Registered User
 

Join Date: Apr 2005
Posts: 2
zombie process

How do you find the process id for the zombie... I used TOP and it doesn't show up there?
Reply With Quote
  #4  
Old 04-25-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
You might not have any zombies to find. I would do a "ps -el". The second field will be Z if a process is a zombie.
Reply With Quote
  #5  
Old 04-25-2005
Registered User
 

Join Date: Apr 2005
Posts: 2
Here is an entry when I do a ps -el......

1 Z 0 25283 2552 0 178 20 4be88940 0 - ? 0:00 <defunct>

should I do a kill on 25283?

What I'm really trying to do is find a process that might be stuck in a loop or might be considered a process hog. Do you have any suggestions of how to find such processes and kill them?

Thanks,
-Tim
Reply With Quote
  #6  
Old 04-25-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
See my first post in this thread.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:59 AM.


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

Content Relevant URLs by vBSEO 3.2.0