<?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: Dead process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dead-process/m-p/2840333#M91058</link>
    <description>This posting has a few kill scripts. One of them may be suitable for you.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x026250011d20d6118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x026250011d20d6118ff40090279cd0f9,00.html&lt;/A&gt;</description>
    <pubDate>Thu, 07 Nov 2002 02:54:41 GMT</pubDate>
    <dc:creator>Michael Tully</dc:creator>
    <dc:date>2002-11-07T02:54:41Z</dc:date>
    <item>
      <title>Dead process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dead-process/m-p/2840330#M91055</link>
      <description>I am new to UNIX. I've a problem here.&lt;BR /&gt;There is a script specially written by my ex-colleague for operations&lt;BR /&gt;team to check our server/jobs via menu-driven style. Somehow this&lt;BR /&gt;generates lots of dead processes although the user has logged of from&lt;BR /&gt;the system. Below is the sample.&lt;BR /&gt;penoasisd1o20:root&amp;gt; ps -ef|grep sysoper&lt;BR /&gt; sysoper  2893 22062  0 08:07:24 pts/20   0:00 /usr/bin/sh&lt;BR /&gt;/usr/bin/clear&lt;BR /&gt; sysoper 14534 14482  1   Dec 28 pts/17  127:14 -rksh&lt;BR /&gt; sysoper  9498 23001  1   Dec 26 pts/13  210:00 -rksh&lt;BR /&gt; sysoper  2869 15733  0 08:07:24 pts/15   0:00 tr [a-z] [A-Z]&lt;BR /&gt; sysoper  8795  2913  1   Dec 20 pts/5   586:20 -rksh&lt;BR /&gt; sysoper 10421 10293  0   Dec 22 pts/8    0:00 -rksh&lt;BR /&gt; sysoper  2914  2908  0 08:07:24 pts/17   0:00 /usr/bin/sh&lt;BR /&gt;/usr/bin/clear&lt;BR /&gt; sysoper 29044 28989  1   Dec 30 pts/16  77:30 -rksh&lt;BR /&gt; sysoper  2901 14702  0 08:07:24 pts/8    0:00 -rksh&lt;BR /&gt; sysoper  2922  2918  0                   0:00 &lt;DEFUNCT&gt;&lt;BR /&gt; sysoper  2919  2915  0                   0:00 &lt;DEFUNCT&gt;&lt;BR /&gt;This affects my alert email job which I schedule to send on regular&lt;BR /&gt;basis. I will not receive any email. However I notice that when I kill&lt;BR /&gt;those dead processes, I immediately receive the emails. I wonder&lt;BR /&gt;anyone there has any similar experience on this.&lt;BR /&gt;&lt;BR /&gt;Also, pls share with me a script to auto kill this dead process, eg&lt;BR /&gt;kill -9 2893 14534 9498 ....&lt;BR /&gt;&lt;BR /&gt;thanks in advance&lt;BR /&gt;&lt;/DEFUNCT&gt;&lt;/DEFUNCT&gt;</description>
      <pubDate>Thu, 07 Nov 2002 02:10:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dead-process/m-p/2840330#M91055</guid>
      <dc:creator>O'lnes</dc:creator>
      <dc:date>2002-11-07T02:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dead process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dead-process/m-p/2840331#M91056</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Does anyone has existing script for me to reference? thx. the send email function can be ignore, if it can kill the dead processes is OK. thx.</description>
      <pubDate>Thu, 07 Nov 2002 02:28:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dead-process/m-p/2840331#M91056</guid>
      <dc:creator>O'lnes</dc:creator>
      <dc:date>2002-11-07T02:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dead process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dead-process/m-p/2840332#M91057</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am fairly sure that the script your using is perhaps not good and does not do the job it was intended to do. &lt;BR /&gt;At a guess (because I don't know exactly what your script does) it is waiting for something to happen. Once one of the processes dies (you killing it) it proceeds and sends the email.&lt;BR /&gt;&lt;BR /&gt;There are a number of ways to to implement automatic kill scripts, however unless we know exactly what you want to kill, it is a little hard to advise. Do you log in as this "sysoper" user?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Michael</description>
      <pubDate>Thu, 07 Nov 2002 02:31:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dead-process/m-p/2840332#M91057</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-11-07T02:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dead process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dead-process/m-p/2840333#M91058</link>
      <description>This posting has a few kill scripts. One of them may be suitable for you.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x026250011d20d6118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x026250011d20d6118ff40090279cd0f9,00.html&lt;/A&gt;</description>
      <pubDate>Thu, 07 Nov 2002 02:54:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dead-process/m-p/2840333#M91058</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-11-07T02:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dead process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dead-process/m-p/2840334#M91059</link>
      <description>Hi Michael Tully,&lt;BR /&gt;&lt;BR /&gt;I didn't find any suitable for me.&lt;BR /&gt;&lt;BR /&gt;does anyone has sample script? thx.</description>
      <pubDate>Thu, 07 Nov 2002 04:08:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dead-process/m-p/2840334#M91059</guid>
      <dc:creator>O'lnes</dc:creator>
      <dc:date>2002-11-07T04:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dead process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dead-process/m-p/2840335#M91060</link>
      <description>Hi O'lnes&lt;BR /&gt;&lt;BR /&gt;if you always have the same user you can change my script for this. But if you have different users the link of Michael is the best solution for your problem. Here you would find several programs for that.&lt;BR /&gt;&lt;BR /&gt;Volkmar</description>
      <pubDate>Thu, 07 Nov 2002 09:55:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dead-process/m-p/2840335#M91060</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2002-11-07T09:55:28Z</dc:date>
    </item>
  </channel>
</rss>

