<?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: a process killing script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/a-process-killing-script/m-p/5129383#M688394</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As I know  defunct are called also zombie process which are not able to kill, you can find those process with &lt;BR /&gt;# ps â  aef | grep â  i defunct&lt;BR /&gt; &lt;BR /&gt;If you see too many defunct process then better reboot the server.&lt;BR /&gt;&lt;BR /&gt;Suraj&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 23 Sep 2008 16:11:05 GMT</pubDate>
    <dc:creator>Suraj K Sankari</dc:creator>
    <dc:date>2008-09-23T16:11:05Z</dc:date>
    <item>
      <title>a process killing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-process-killing-script/m-p/5129377#M688388</link>
      <description>Hi,&lt;BR /&gt;Really don't know any scripting.  I am in the HP 10.2 enviroment.  Writing in Ksh shell.  I need to find all process that are defunct and delete them with a script I can put on a cron.&lt;BR /&gt;&lt;BR /&gt;Can any one help.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Phil&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Sep 2008 18:31:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-process-killing-script/m-p/5129377#M688388</guid>
      <dc:creator>Phillip Popp</dc:creator>
      <dc:date>2008-09-11T18:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: a process killing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-process-killing-script/m-p/5129378#M688389</link>
      <description>Hi Phil,&lt;BR /&gt;&lt;BR /&gt;Well...this may be a headbanger for you.&lt;BR /&gt;Defunct processes are also known as zombie processes and as such you need to understand they are *already* dead &amp;amp; can't be killed.&lt;BR /&gt;&lt;BR /&gt;This would only be a problem if the number, mem size or resources these processes hold become constraining.&lt;BR /&gt;&lt;BR /&gt;My 2 cents,&lt;BR /&gt;Jeff Schussele</description>
      <pubDate>Thu, 11 Sep 2008 18:43:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-process-killing-script/m-p/5129378#M688389</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2008-09-11T18:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: a process killing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-process-killing-script/m-p/5129379#M688390</link>
      <description>You can't kill zombies, you can only kill the zombie master.  Since this requires a judgment call, you should do this manually.&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1145648" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1145648&lt;/A&gt;</description>
      <pubDate>Thu, 11 Sep 2008 18:44:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-process-killing-script/m-p/5129379#M688390</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-09-11T18:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: a process killing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-process-killing-script/m-p/5129380#M688391</link>
      <description>Hi Phillip:&lt;BR /&gt;&lt;BR /&gt;You can find "defunct" processes by running 'ps -ef' and grepping for "&lt;DEFUNCT&gt;" or by running 'UNIX95= ps -o pid,state' and looking for pids with a "Z" state.&lt;BR /&gt;&lt;BR /&gt;That said, trying to kill them isn't going to work.  A defunct process is otherwise known as a "zombie".  It is already dead, waiting for its parent to reap its termination status before it is removed from the kernel's process table.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;/DEFUNCT&gt;</description>
      <pubDate>Thu, 11 Sep 2008 18:48:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-process-killing-script/m-p/5129380#M688391</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-09-11T18:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: a process killing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-process-killing-script/m-p/5129381#M688392</link>
      <description>If you have no further questions for this topic you may want to consider closing the thread so everyone knows there is a solution.&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/helptips.do?#40" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/helptips.do?#40&lt;/A&gt;</description>
      <pubDate>Sat, 13 Sep 2008 16:13:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-process-killing-script/m-p/5129381#M688392</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-09-13T16:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: a process killing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-process-killing-script/m-p/5129382#M688393</link>
      <description>ps -ef |grep -v -f /usr/local/bin/patt.1 |grep $1 &amp;gt; temp.1&lt;BR /&gt;kill -9 `awk '{print $2}' temp.1`&lt;BR /&gt;rm temp.1</description>
      <pubDate>Tue, 23 Sep 2008 14:31:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-process-killing-script/m-p/5129382#M688393</guid>
      <dc:creator>rmueller58</dc:creator>
      <dc:date>2008-09-23T14:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: a process killing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-process-killing-script/m-p/5129383#M688394</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As I know  defunct are called also zombie process which are not able to kill, you can find those process with &lt;BR /&gt;# ps â  aef | grep â  i defunct&lt;BR /&gt; &lt;BR /&gt;If you see too many defunct process then better reboot the server.&lt;BR /&gt;&lt;BR /&gt;Suraj&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Sep 2008 16:11:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-process-killing-script/m-p/5129383#M688394</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2008-09-23T16:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: a process killing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-process-killing-script/m-p/5129384#M688395</link>
      <description>Thanks I have learned a lot</description>
      <pubDate>Tue, 23 Sep 2008 19:13:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-process-killing-script/m-p/5129384#M688395</guid>
      <dc:creator>Phillip Popp</dc:creator>
      <dc:date>2008-09-23T19:13:40Z</dc:date>
    </item>
  </channel>
</rss>

