<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Best way to locate and kill a zombie in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909541#M933154</link>
    <description>Yes I figured where this came from a few minutes ago.  I installed the diagnostic tools over the weekend and had some problems because I did not stop measureware while doing swinstall the first time.    &lt;BR /&gt;&lt;BR /&gt;Awesome stopping and starting measureware again did the trick, the zombie disapeared...  :)</description>
    <pubDate>Thu, 20 Feb 2003 18:26:34 GMT</pubDate>
    <dc:creator>John Jimenez</dc:creator>
    <dc:date>2003-02-20T18:26:34Z</dc:date>
    <item>
      <title>Best way to locate and kill a zombie</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909526#M933139</link>
      <description>While running top, there is one zombie running.  What is the best way to locate this "PID", so I can kill it?</description>
      <pubDate>Thu, 20 Feb 2003 17:21:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909526#M933139</guid>
      <dc:creator>John Jimenez</dc:creator>
      <dc:date>2003-02-20T17:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to locate and kill a zombie</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909527#M933140</link>
      <description>I'm afraid, I think you won't be able to kill, because the Zombie is waiting for its parent process to fetch its exit code through a wait() or waitpid() syscall by the parent.&lt;BR /&gt;&lt;BR /&gt;However, you can get the PID from the process table if you grep for the string "defunct"&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;&lt;BR /&gt;ps -ef|grep defu</description>
      <pubDate>Thu, 20 Feb 2003 17:25:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909527#M933140</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2003-02-20T17:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to locate and kill a zombie</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909528#M933141</link>
      <description>Do a "ps -ef|grep defunct".&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 20 Feb 2003 17:25:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909528#M933141</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-02-20T17:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to locate and kill a zombie</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909529#M933142</link>
      <description>top shows the PIDs of processes.  The 3rd column of the top output is the PID.  However, it the process truly is a zombie, then  you probably won't be able to kill it.  Why?  BECAUSE IT'S ALREADY DEAD!!!!  To quote from an HP Performance expert.</description>
      <pubDate>Thu, 20 Feb 2003 17:32:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909529#M933142</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-02-20T17:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to locate and kill a zombie</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909530#M933143</link>
      <description>You can find out the PID from top itself or from grep' ing with 'defunct. But you cannot kill those processes since it's already dead. The best way to get rid of those processes is to reboot the system!</description>
      <pubDate>Thu, 20 Feb 2003 17:42:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909530#M933143</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-02-20T17:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to locate and kill a zombie</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909531#M933144</link>
      <description>Thanks, I greped "defun" and it found it.&lt;BR /&gt;# ps -ef | grep defu&lt;BR /&gt;    root  3047  2718  3  Feb 15  ?         0:00 &lt;DEFUNCT&gt;&lt;BR /&gt;    root  9189   969  0 09:39:11 ttyvb     0:00 grep defu&lt;BR /&gt;&lt;BR /&gt; It has actually been a long time since I have seen a zombie.  As I remember I thought that I can just kill this "PID"? if not how would I get rid of it?&lt;/DEFUNCT&gt;</description>
      <pubDate>Thu, 20 Feb 2003 17:42:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909531#M933144</guid>
      <dc:creator>John Jimenez</dc:creator>
      <dc:date>2003-02-20T17:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to locate and kill a zombie</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909532#M933145</link>
      <description>Okay, I will not worry about it, I will just let the reboot take care of it.  thanks a lot....</description>
      <pubDate>Thu, 20 Feb 2003 17:45:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909532#M933145</guid>
      <dc:creator>John Jimenez</dc:creator>
      <dc:date>2003-02-20T17:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to locate and kill a zombie</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909533#M933146</link>
      <description>Sorry to dissappoint you, but he only way to get rid of a zombie process is to rebot.&lt;BR /&gt;You cannot kill what is already dead.&lt;BR /&gt;In the words of John Cleese, from hte pqrrot sketch in Monty Python:&lt;BR /&gt;It is an ex-parrot, it has ceased to be, it is no more.&lt;BR /&gt;It's DEAD&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Feb 2003 17:46:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909533#M933146</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2003-02-20T17:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to locate and kill a zombie</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909534#M933147</link>
      <description>Read this for more information about defunct processes TKB #S1100000464:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000063236571" target="_blank"&gt;http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000063236571&lt;/A&gt;</description>
      <pubDate>Thu, 20 Feb 2003 17:46:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909534#M933147</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-02-20T17:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to locate and kill a zombie</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909535#M933148</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;What is the parent process?  Do a "ps -ef |grep 2718".  I would have expected a zombie to be owned by init (PID 1).&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 20 Feb 2003 17:50:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909535#M933148</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-02-20T17:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to locate and kill a zombie</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909536#M933149</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;It is still not a real zombie as it's parent it not yet "1", init - the God mother of all processes.&lt;BR /&gt;&lt;BR /&gt;Now try "ps -ef|grep 2718" and see what process is listed?.&lt;BR /&gt;&lt;BR /&gt;A zombie that is attached to init, cannot be killed. They are ghosts waiting to send their status information to their parents that do not exist. So, a good programmer can write a code that will get the status from the waiting child. Once the status is reported, the child will literally die.&lt;BR /&gt;&lt;BR /&gt;If the zombies are not talking too much of CPU (sometimes users report that the defunct process is consuming too much CPU, by misunderstanding how Glance reports), then I will wait for my next maintenance window.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 20 Feb 2003 17:53:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909536#M933149</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-02-20T17:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to locate and kill a zombie</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909537#M933150</link>
      <description># ps -ef |grep 2718&lt;BR /&gt;    root  2718     1  0  Feb 15  ?         0:00 /opt/perf/bin/perflbd&lt;BR /&gt;    root  3047  2718  3  Feb 15  ?         0:00 &lt;DEFUNCT&gt;&lt;BR /&gt;    root  2733  2718  0  Feb 15  ?         0:57 /opt/perf/bin/rep_server -t SCOo&lt;BR /&gt;    root 10180   969  2 09:54:37 ttyvb     0:00 grep 2718&lt;BR /&gt;&lt;BR /&gt;Yes it looks like the parent is "1".    it does taking any proccessing, but if I have time I will try and find a script, just in case one pops up in the future that does take up processing time.  thanks again....&lt;/DEFUNCT&gt;</description>
      <pubDate>Thu, 20 Feb 2003 17:58:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909537#M933150</guid>
      <dc:creator>John Jimenez</dc:creator>
      <dc:date>2003-02-20T17:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to locate and kill a zombie</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909538#M933151</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;The point is that if the parent is not init (PID 1), the "zombie" can be killed by killing off the parent (in your case 2718).  I'm not sure what perfldb is and therefore, I'm not sure this is something you want to do, but it's something to remember for next time.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 20 Feb 2003 18:08:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909538#M933151</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-02-20T18:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to locate and kill a zombie</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909539#M933152</link>
      <description>If you can afford to stop Measureware on your system, do a mwa stop and see what happens by running ps -ef. That should stop perflbd process. You can do a mwa start later to start that process.&lt;BR /&gt;&lt;BR /&gt;This may probably make it a real zombie. If you are lucky, then it may kill it too.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 20 Feb 2003 18:13:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909539#M933152</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-02-20T18:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to locate and kill a zombie</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909540#M933153</link>
      <description>perflbd is part of your MeasureWare software. So to try and kill you rdefunct process I would suggest to try and stop MeasureWare and restart it.  That way the paretn process will stop and hopefully terminate its child too. &lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/mwa stop&lt;BR /&gt;/sbin/init.d/mwa start</description>
      <pubDate>Thu, 20 Feb 2003 18:18:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909540#M933153</guid>
      <dc:creator>Marco Santerre</dc:creator>
      <dc:date>2003-02-20T18:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to locate and kill a zombie</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909541#M933154</link>
      <description>Yes I figured where this came from a few minutes ago.  I installed the diagnostic tools over the weekend and had some problems because I did not stop measureware while doing swinstall the first time.    &lt;BR /&gt;&lt;BR /&gt;Awesome stopping and starting measureware again did the trick, the zombie disapeared...  :)</description>
      <pubDate>Thu, 20 Feb 2003 18:26:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-locate-and-kill-a-zombie/m-p/2909541#M933154</guid>
      <dc:creator>John Jimenez</dc:creator>
      <dc:date>2003-02-20T18:26:34Z</dc:date>
    </item>
  </channel>
</rss>

