<?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 kill  process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728714#M836293</link>
    <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I want to kill all process which the owner is user1,how should I do?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
    <pubDate>Wed, 22 May 2002 00:08:06 GMT</pubDate>
    <dc:creator>Michael_33</dc:creator>
    <dc:date>2002-05-22T00:08:06Z</dc:date>
    <item>
      <title>kill  process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728714#M836293</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I want to kill all process which the owner is user1,how should I do?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Wed, 22 May 2002 00:08:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728714#M836293</guid>
      <dc:creator>Michael_33</dc:creator>
      <dc:date>2002-05-22T00:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: kill  process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728715#M836294</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This should kill all processes related to user1. If the first one doesn't work the second should. You must be 'root' to perform this function properly.&lt;BR /&gt;&lt;BR /&gt;# ps -ef | grep user1 | awk '{print $2}' | xargs kill -5&lt;BR /&gt;# ps -ef | grep user1 | awk '{print $2}' | xargs kill -9&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;~Michael~</description>
      <pubDate>Wed, 22 May 2002 00:12:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728715#M836294</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-05-22T00:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: kill  process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728716#M836295</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I use the following script which will prompt you for a username&lt;BR /&gt;&lt;BR /&gt;echo "\nkill process script"&lt;BR /&gt;echo "====================="&lt;BR /&gt;&lt;BR /&gt;listfile1=/tmp/rm_process.list&lt;BR /&gt;listfile2=/tmp/rm_process.list2&lt;BR /&gt;sleep 1&lt;BR /&gt;echo "Please enter you choice of process"&lt;BR /&gt;read choice&lt;BR /&gt;&lt;BR /&gt;rm -f $listfile1 $listfile2 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep $choice | cut -c10-15 &amp;gt; $listfile1&lt;BR /&gt;sed 's/^/kill -15/g' $listfile1 &amp;gt; $listfile2&lt;BR /&gt;chmod 777 $listfile2&lt;BR /&gt;$listfile2&lt;BR /&gt;&lt;BR /&gt;echo "\nkill process script ends"&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Steve&lt;BR /&gt;</description>
      <pubDate>Wed, 22 May 2002 00:15:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728716#M836295</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-05-22T00:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: kill  process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728717#M836296</link>
      <description>thanks!&lt;BR /&gt;&lt;BR /&gt;one more question:&lt;BR /&gt;&lt;BR /&gt;I found the cron daemon is start by user1!&lt;BR /&gt;I try to kill -9 pid, but doesn't work! how should I do?</description>
      <pubDate>Wed, 22 May 2002 00:19:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728717#M836296</guid>
      <dc:creator>Michael_33</dc:creator>
      <dc:date>2002-05-22T00:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: kill  process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728718#M836297</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/cron stop&lt;BR /&gt;&lt;BR /&gt;to restart&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/cron start&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 22 May 2002 00:22:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728718#M836297</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-05-22T00:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: kill  process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728719#M836298</link>
      <description>Michael&lt;BR /&gt;&lt;BR /&gt;I picked up this info from 'Bill Hassell' &lt;BR /&gt;regarding processes. Have a read it's very interesting&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 22 May 2002 00:24:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728719#M836298</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-05-22T00:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: kill  process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728720#M836299</link>
      <description>Hi Steven,&lt;BR /&gt;&lt;BR /&gt;I did this already, but doesn't work. Any idea?&lt;BR /&gt;</description>
      <pubDate>Wed, 22 May 2002 00:24:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728720#M836299</guid>
      <dc:creator>Michael_33</dc:creator>
      <dc:date>2002-05-22T00:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: kill  process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728721#M836300</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Can you post the output of your&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep cron&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 22 May 2002 00:25:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728721#M836300</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-05-22T00:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: kill  process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728722#M836301</link>
      <description>user1 17290 1 07:56 ? /usr/sbin/cron&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 May 2002 00:28:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728722#M836301</guid>
      <dc:creator>Michael_33</dc:creator>
      <dc:date>2002-05-22T00:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: kill  process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728723#M836302</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;It looks as though the process appears to be hung, when you look at it from top, is it sleeping ? If so the kill may be ignored&lt;BR /&gt;&lt;BR /&gt;I've done a quick search and found the following doc&lt;BR /&gt;&lt;BR /&gt;A reboot may sound a little drastic but may cure the problem&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/components/FileAttachment/0,,0x4c04a22d6d27d5118fef0090279cd0f9,00.htm" target="_blank"&gt;http://forums.itrc.hp.com/cm/components/FileAttachment/0,,0x4c04a22d6d27d5118fef0090279cd0f9,00.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Have a read through&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Steve&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 May 2002 00:36:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728723#M836302</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-05-22T00:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: kill  process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728724#M836303</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;That is a very interesting document, and the information is a good starting point. Rarely have I seen a 'hung' cron process. In saying that the 'cron' process should run as user 'root'. Is that the case on your system, using 'user1' as an example?&lt;BR /&gt;&lt;BR /&gt;Is the 'cron' process still logging jobs to the cron log? (/var/adm/cron/log)&lt;BR /&gt;&lt;BR /&gt;I agree, that the last resort will be a system reboot. &lt;BR /&gt;&lt;BR /&gt;Michael</description>
      <pubDate>Wed, 22 May 2002 00:44:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728724#M836303</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-05-22T00:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: kill  process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728725#M836304</link>
      <description>no other way, only reboot?</description>
      <pubDate>Wed, 22 May 2002 00:45:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728725#M836304</guid>
      <dc:creator>Michael_33</dc:creator>
      <dc:date>2002-05-22T00:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: kill  process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728726#M836305</link>
      <description>Michael, you are right, user1 just an example.&lt;BR /&gt;the cron's log is stopped already.&lt;BR /&gt;but the cron daemon is still running, maybe&lt;BR /&gt;hung already. kill -9 doesn't work, the value&lt;BR /&gt;of w is &amp;gt;100!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 May 2002 00:57:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728726#M836305</guid>
      <dc:creator>Michael_33</dc:creator>
      <dc:date>2002-05-22T00:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: kill  process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728727#M836306</link>
      <description>Hi Michael,&lt;BR /&gt;&lt;BR /&gt;If there are critical jobs from cron that need to run, try to run them manually until you can schedule a system reboot. I see no other alternative, if the cron process has 'hung'.&lt;BR /&gt;&lt;BR /&gt;Good Luck&lt;BR /&gt;~Michael~</description>
      <pubDate>Wed, 22 May 2002 00:58:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728727#M836306</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-05-22T00:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: kill  process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728728#M836307</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Just had major issues attempting to reply&lt;BR /&gt;&lt;BR /&gt;As per Micheal's comments, run the jobs manually. The doc states&lt;BR /&gt;&lt;BR /&gt;NOTE: Only restarting the machine can free up the resources used by&lt;BR /&gt;      a hung unsignalable process.&lt;BR /&gt;&lt;BR /&gt;CAUTION: Anytime you have unkillable processes issuing a shutdown command&lt;BR /&gt;         may cause the system to hang during shutdown.  The reboot command&lt;BR /&gt;         is a better alternative.  Use reboot(1m) after stopping all&lt;BR /&gt;         processes (See killall script) and umounting all filesystems that&lt;BR /&gt;         can be umounted.&lt;BR /&gt;&lt;BR /&gt;Note: using reboot, killall is in /sbin/init.d&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;&lt;BR /&gt;Steve&lt;BR /&gt;</description>
      <pubDate>Wed, 22 May 2002 01:07:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728728#M836307</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-05-22T01:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: kill  process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728729#M836308</link>
      <description>Thanks all!</description>
      <pubDate>Wed, 22 May 2002 01:09:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728729#M836308</guid>
      <dc:creator>Michael_33</dc:creator>
      <dc:date>2002-05-22T01:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: kill  process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728730#M836309</link>
      <description>Hi Michael,&lt;BR /&gt;&lt;BR /&gt;Now would also be a perfect opportunity to look at planning for the future and to patch your system(s). Given that a hung process can also be an unexpected condition in the system kernel may indicate that there is a bug.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;~Michael~</description>
      <pubDate>Wed, 22 May 2002 01:25:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728730#M836309</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-05-22T01:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: kill  process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728731#M836310</link>
      <description>I would also check the passwd file for users with UID 0 other than root.&lt;BR /&gt;Just in case.</description>
      <pubDate>Thu, 23 May 2002 01:25:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728731#M836310</guid>
      <dc:creator>Trevor Roddam_1</dc:creator>
      <dc:date>2002-05-23T01:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: kill  process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728732#M836311</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Very good point&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Thu, 23 May 2002 01:35:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728732#M836311</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-05-23T01:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: kill  process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728733#M836312</link>
      <description>I'm going to take this oppurtunity to repeat a mantra of mine. When will someone request POSIX to change the kill command so it doesn't require the "approval" of the intended victim? If a process is not "signalable" and is the desired target of "kill", then the kill command should remove the victim from the process stack. The system termination cleanup module should have logic sufficient to perform this task. Another approach would be to have the kill command "spoof" the completion of whatever the victim might be waiting for. Then, when his head pops up, give him a 357 between the eyes. Rebooting is an uacceptable option to kill a rogue process</description>
      <pubDate>Thu, 23 May 2002 14:19:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-process/m-p/2728733#M836312</guid>
      <dc:creator>Jack Werner</dc:creator>
      <dc:date>2002-05-23T14:19:07Z</dc:date>
    </item>
  </channel>
</rss>

