<?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: how kill user process? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-kill-user-process/m-p/5053403#M435205</link>
    <description>Let me see if I understand you correctly - you have a user, for example user 'jsmith' who is running a process called 'foo' and you want to kill that process?&lt;BR /&gt;&lt;BR /&gt;So you need to login as root and use:&lt;BR /&gt;&lt;BR /&gt;# ps -ef | grep jsmith&lt;BR /&gt;jsmith 1234 1231 1 18:20 pts/1 0:20 foo&lt;BR /&gt;&lt;BR /&gt;Or you could use:&lt;BR /&gt;&lt;BR /&gt;# ps -ef | grep foo&lt;BR /&gt;jsmith 1234 1131 1 18:20 pts/1 0:20 foo&lt;BR /&gt;&lt;BR /&gt;In either case, ps tells you the process id to kill is '1234' (not '1131' - that is the parent process id), so to kill the 'foo' process use:&lt;BR /&gt;&lt;BR /&gt;# kill 1234&lt;BR /&gt;&lt;BR /&gt;Or you might need 'kill -9' or one of the other options ('man kill' for details).&lt;BR /&gt;</description>
    <pubDate>Mon, 18 Jun 2007 02:22:36 GMT</pubDate>
    <dc:creator>Alex Jenner</dc:creator>
    <dc:date>2007-06-18T02:22:36Z</dc:date>
    <item>
      <title>how kill user process?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-kill-user-process/m-p/5053402#M435204</link>
      <description>I am root user&amp;amp; i wan kill user process form the system. how to check &amp;amp; kill taht processor.&lt;BR /&gt;&lt;BR /&gt;pls help me.&lt;BR /&gt;&lt;BR /&gt;Sandeep Daphal</description>
      <pubDate>Mon, 18 Jun 2007 01:41:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-kill-user-process/m-p/5053402#M435204</guid>
      <dc:creator>Sandeep Daphal</dc:creator>
      <dc:date>2007-06-18T01:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: how kill user process?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-kill-user-process/m-p/5053403#M435205</link>
      <description>Let me see if I understand you correctly - you have a user, for example user 'jsmith' who is running a process called 'foo' and you want to kill that process?&lt;BR /&gt;&lt;BR /&gt;So you need to login as root and use:&lt;BR /&gt;&lt;BR /&gt;# ps -ef | grep jsmith&lt;BR /&gt;jsmith 1234 1231 1 18:20 pts/1 0:20 foo&lt;BR /&gt;&lt;BR /&gt;Or you could use:&lt;BR /&gt;&lt;BR /&gt;# ps -ef | grep foo&lt;BR /&gt;jsmith 1234 1131 1 18:20 pts/1 0:20 foo&lt;BR /&gt;&lt;BR /&gt;In either case, ps tells you the process id to kill is '1234' (not '1131' - that is the parent process id), so to kill the 'foo' process use:&lt;BR /&gt;&lt;BR /&gt;# kill 1234&lt;BR /&gt;&lt;BR /&gt;Or you might need 'kill -9' or one of the other options ('man kill' for details).&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Jun 2007 02:22:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-kill-user-process/m-p/5053403#M435205</guid>
      <dc:creator>Alex Jenner</dc:creator>
      <dc:date>2007-06-18T02:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: how kill user process?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-kill-user-process/m-p/5053404#M435206</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;kill `ps -ef | grep &lt;PROCESS name=""&gt; | awk '{print $2}'`&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Murat&lt;BR /&gt;HP&lt;/PROCESS&gt;</description>
      <pubDate>Mon, 18 Jun 2007 02:23:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-kill-user-process/m-p/5053404#M435206</guid>
      <dc:creator>Murat SULUHAN</dc:creator>
      <dc:date>2007-06-18T02:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: how kill user process?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-kill-user-process/m-p/5053405#M435207</link>
      <description>ps -ef will list all the processes running on a system.&lt;BR /&gt;&lt;BR /&gt;The first field(string) of each line of output is the user who is the owner of the process , the second field(number) is the PID of the process and the third field(number) is the PID of the parent of that process.&lt;BR /&gt;&lt;BR /&gt;You can kill a process by using the kill command &lt;BR /&gt;&lt;BR /&gt;kill -SIGNUM PID(second field)&lt;BR /&gt;&lt;BR /&gt;You can use one of many signals avalable. But avoid using SIGKILL(9) , because it forcefully kill a process. you can use SIGTERM for a a graceful exit if the process has done some handling for SIGTERM.&lt;BR /&gt;&lt;BR /&gt;e.g. &lt;BR /&gt;kill -TERM 3245&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Jun 2007 03:35:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-kill-user-process/m-p/5053405#M435207</guid>
      <dc:creator>Srimalik</dc:creator>
      <dc:date>2007-06-18T03:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: how kill user process?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-kill-user-process/m-p/5053406#M435208</link>
      <description>Thanks for help</description>
      <pubDate>Mon, 18 Jun 2007 04:06:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-kill-user-process/m-p/5053406#M435208</guid>
      <dc:creator>Sandeep Daphal</dc:creator>
      <dc:date>2007-06-18T04:06:38Z</dc:date>
    </item>
  </channel>
</rss>

