- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- erase zombies like Solaris preap command can?
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
08-25-2005 09:02 AM
08-25-2005 09:02 AM
erase zombies like Solaris preap command can?
Solaris preap command can erase zombies just like that. Is there anything for HP-UX that can do it too?
Thanks, :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 09:06 AM
08-25-2005 09:06 AM
Re: erase zombies like Solaris preap command can?
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
08-25-2005 09:09 AM
08-25-2005 09:09 AM
Re: erase zombies like Solaris preap command can?
Sometimes they disappear by themselves, but sometimes they stuck there forever. I'm pretty sure Solaris not actually kills them, probably just erases them from the process table and you don't see it, but it's still there.
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 09:14 AM
08-25-2005 09:14 AM
Re: erase zombies like Solaris preap command can?
Try # kill -9 PID to kill the process .
And still if it fails , that means its become zombie.. and its parent process not exists and died. Hence init is beoce the parent.
As you cannot kill init process , only option left is to reboot the box.
Cheers ,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 09:22 AM
08-25-2005 09:22 AM
Re: erase zombies like Solaris preap command can?
Think of zombies as an IPC between exit() and wait(). The process is stripped down to just exit status which is stored in a process table slot by exit() and retrieved by wait().
Note that by "wait()" I am refering to the entire "wait family": wait(), wait3(), waitpid(), etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 09:26 AM
08-25-2005 09:26 AM
Re: erase zombies like Solaris preap command can?
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 09:29 AM
08-25-2005 09:29 AM
Re: erase zombies like Solaris preap command can?
Why dont you write a program :
which will find out the process between exit() and wait() , and to kill it intelligently and cleaverly .
And let us know also ,
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 09:36 AM
08-25-2005 09:36 AM
Re: erase zombies like Solaris preap command can?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 09:39 AM
08-25-2005 09:39 AM
Re: erase zombies like Solaris preap command can?
If you bother to read my question I was asking about a feature that Solaris has that might have an analog in HP-UX.
I started by explaining that I didn't want an answer about anything else.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 09:41 AM
08-25-2005 09:41 AM
Re: erase zombies like Solaris preap command can?
What exactly are you looking for here? All answers so far have been correct.
I have just looked at a doc on the Solaris preap command. And yes, I do understand what a zombie / defunct process is.
NO HP-UX does not have a command similar to Solaris' preap command.
If you don't like the answers, so sorry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 09:42 AM
08-25-2005 09:42 AM
Re: erase zombies like Solaris preap command can?
I'm asking for exactly what I'm asking for, nothing more or less.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 09:44 AM
08-25-2005 09:44 AM
Re: erase zombies like Solaris preap command can?
You asked: Solaris preap command can erase zombies just like that. Is there anything for HP-UX that can do it too?
My answer: No!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 09:47 AM
08-25-2005 09:47 AM
Re: erase zombies like Solaris preap command can?
Alex Lavrov: "Nope, you can't erase them ..."
Raj D.: "only option left is to reboot the box"
A. Clay Stephenson: "There is no command to clear these entries from the process table."
You got your solution *4* times. An after this, you assign each of these ppl, who took time to answer you, *0* points and even say that they don't understand what zombie is ... Thank you, was a pleasure to help you.
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 09:55 AM
08-25-2005 09:55 AM
Re: erase zombies like Solaris preap command can?
Sorry to say !! , that its real bad thing , that you could not understand this forum , nor the people's out here , and nor the answers ?
And you sticked to yourself. Assigning everyone "zero point.", and prooved yourself.
Do you think , these experienced peoples are making joke with you , and your question! , The answer is absolutly no , But you are ?
Thx,
Raj.