<?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: User process in the system in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/user-process-in-the-system/m-p/3474663#M212352</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Why you don't try to kill just the user processes? &lt;BR /&gt;&lt;BR /&gt;"ps -fu &lt;USER&gt;" will give the processes the user is running. Use "kill &lt;PID&gt;" to kill only those processes...&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes&lt;BR /&gt;&lt;BR /&gt;&lt;/PID&gt;&lt;/USER&gt;</description>
    <pubDate>Mon, 31 Jan 2005 06:29:36 GMT</pubDate>
    <dc:creator>Eric Antunes</dc:creator>
    <dc:date>2005-01-31T06:29:36Z</dc:date>
    <item>
      <title>User process in the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-process-in-the-system/m-p/3474662#M212351</link>
      <description>Sorry to I am not familiar with script writing ,&lt;BR /&gt;&lt;BR /&gt;attach is the /etc/profile in my system , we have limit each user can only have one login in the system . When the user login ,  if the system found the user have a  dead process in the  system   , the system will confirm the user to  kill the previous login and try to kill it ( this is the additational function of the profile ) ,    but I have a problem now , the system can't kill the previous dead process now , I think it is because the system only try to kill the PID , but not the PPID ,so it will pop the "not the process owner" when trying  to kill the process ,  could suggest how can  I  change the script  so that it will  kill the PPID ? or is there any reason why the dead  can't be killed ? thx in advance.</description>
      <pubDate>Mon, 31 Jan 2005 05:59:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-process-in-the-system/m-p/3474662#M212351</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2005-01-31T05:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: User process in the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-process-in-the-system/m-p/3474663#M212352</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Why you don't try to kill just the user processes? &lt;BR /&gt;&lt;BR /&gt;"ps -fu &lt;USER&gt;" will give the processes the user is running. Use "kill &lt;PID&gt;" to kill only those processes...&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes&lt;BR /&gt;&lt;BR /&gt;&lt;/PID&gt;&lt;/USER&gt;</description>
      <pubDate>Mon, 31 Jan 2005 06:29:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-process-in-the-system/m-p/3474663#M212352</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2005-01-31T06:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: User process in the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-process-in-the-system/m-p/3474664#M212353</link>
      <description>thx reply , &lt;BR /&gt;&lt;BR /&gt;i tried ps -fu , but it only find the PID of the grep process (eg. 6795 in the below example) , it seems not find the PPID , could suggest how to kill the PPID ? thx again. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root   6795  0.0  0.0  1712  580 pts/19   S    14:34   0:00 grep Bohmer</description>
      <pubDate>Tue, 01 Feb 2005 01:34:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-process-in-the-system/m-p/3474664#M212353</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2005-02-01T01:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: User process in the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-process-in-the-system/m-p/3474665#M212354</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;your grep also finds your grep. Use&lt;BR /&gt;grep -v grep before you grep for your user.&lt;BR /&gt;ps -ef | grep -v grep | grep $atty | ...&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Feb 2005 02:03:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-process-in-the-system/m-p/3474665#M212354</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2005-02-01T02:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: User process in the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-process-in-the-system/m-p/3474666#M212355</link>
      <description>thx reply , &lt;BR /&gt;&lt;BR /&gt;I have changed the script (ps -ef | grep -v grep | grep $atty | ) but it still can't kill the process , it seems still can't kill the PPID , could suggest what can I do ? thanks again.</description>
      <pubDate>Tue, 01 Feb 2005 03:44:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-process-in-the-system/m-p/3474666#M212355</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2005-02-01T03:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: User process in the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-process-in-the-system/m-p/3474667#M212356</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Did you tried "kill -9 PID" (not PPID)? To use "kill -9", you have to be sure those processes are really not doing anything, since they are just killed...&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes</description>
      <pubDate>Tue, 01 Feb 2005 03:49:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-process-in-the-system/m-p/3474667#M212356</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2005-02-01T03:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: User process in the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-process-in-the-system/m-p/3474668#M212357</link>
      <description>thx reply , &lt;BR /&gt;&lt;BR /&gt;yes, kill -9 can kill the process , but I am not prefer let the uesr use the -9 as there are some strange problems .&lt;BR /&gt;&lt;BR /&gt;Except this method , can suggest what can I do ? thx.</description>
      <pubDate>Tue, 01 Feb 2005 06:43:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-process-in-the-system/m-p/3474668#M212357</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2005-02-01T06:43:30Z</dc:date>
    </item>
  </channel>
</rss>

