- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Removing zombie processes
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 03:07 AM
07-20-2004 03:07 AM
ps -ef|grep " 1 "|grep ?|grep -v oracle|grep -v root|grep -v acushare|grep -v lp
Thanks,
Doug
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 03:17 AM
07-20-2004 03:17 AM
Re: Removing zombie processes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 03:24 AM
07-20-2004 03:24 AM
SolutionI'm attaching a script that does sometimes get zombie processes.
Once the zombie process has a ppid of 1, the only way to get rid of it is to boot the box.
See attachment.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 07:00 AM
07-20-2004 07:00 AM
Re: Removing zombie processes
We can collect the process as,
ps -aefl | grep -v grep | awk '{ if ( $2 == "z" ) print $4 }'
where, ps with -l option is used to give the process is
O Process is running on a processor. S Sleeping: process is waiting for an event to complete
R Runnable: process is on run queue.
Z Zombie state: process terminated and parent not waiting.
T Process is stopped, either by a job control sig-nal or because it is being traced.
else top command will show the state,pid, command user details.
Use kill -9 to kill the zombie process.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 10:52 AM
07-20-2004 10:52 AM
Re: Removing zombie processes
There is no supported way to remove the zombie processes in the system.
They are just an entry in the process table and consumes no resource whatsoever. So you can just ignore them. But if you are really concerned, then I learned there is a program distributed by interex HP-UX community.
This is the information I found. But note this is not supported by HP.
The program is called kill zomb and may be obtained by calling Interex
(the International Association of Hewlett-Packard Computer Users) at
(408) 738-4848, fax (408) 736-2156, or writing them at:
Interex
Contributed Software Library/HP-UX
585 Maude Court
Sunnyvale, CA. 94088-3439