<?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: Kill in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4289677#M336622</link>
    <description>Instead of Bill's kill -1, etc, you might want to use their names:&lt;BR /&gt;kill -HUP  # -1&lt;BR /&gt;kill -QUIT # -3&lt;BR /&gt;kill -TERM # -15&lt;BR /&gt;Use "kill -l" to list.&lt;BR /&gt;You can continue to use -9.  :-)</description>
    <pubDate>Sun, 19 Oct 2008 00:18:03 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2008-10-19T00:18:03Z</dc:date>
    <item>
      <title>Kill</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4289674#M336619</link>
      <description>Could you please explain the difference between kill -9 and kill-15 commands</description>
      <pubDate>Sat, 18 Oct 2008 11:24:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4289674#M336619</guid>
      <dc:creator>Santhikumari</dc:creator>
      <dc:date>2008-10-18T11:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Kill</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4289675#M336620</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Refer following link to make it more clear:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B9106-90007/kill.1.html" target="_blank"&gt;http://docs.hp.com/en/B9106-90007/kill.1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;In short:&lt;BR /&gt;9 SIGKILL  Kill  Forced termination; cannot be trapped&lt;BR /&gt;&lt;BR /&gt;15 SIGTERM  Terminate  Terminate; can be trapped&lt;BR /&gt;&lt;BR /&gt;-R.K.</description>
      <pubDate>Sat, 18 Oct 2008 11:38:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4289675#M336620</guid>
      <dc:creator>R.K. #</dc:creator>
      <dc:date>2008-10-18T11:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Kill</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4289676#M336621</link>
      <description>kill -9 is a VERY dangerous command because most beginner books use it way too generously. kill -9 stops the program from executing. It gives the program no chance to write memory information, or to close files properly. In a database program, this almost guarantees corruption and a long database recovery process.&lt;BR /&gt; &lt;BR /&gt;The kill command does not actually kill the program. Instead, it is a signal to the program. This signal goes into the process table and the next time the program starts t run, it will see the signal. Now what happens next is completely under the control of the programmer (except kill -9, see below). The programmer can choose to completely ignore the signal in which system defaults will stop the program, and in the case of kill -3 or kill -11, the program will be forced to create a core dump.&lt;BR /&gt; &lt;BR /&gt;But a senior programmer will always handle the different signals in an organized way. For instance, kill -15 (also, kill without any option = -15) might start a normal end of job and the process will close files and flush memory in a controlled way. A kill -1 is normally sent when the connection to the program is terminated (in the old days, the modem would disconnect or hang up), so a program might handle this condition in a slightly different way. &lt;BR /&gt; &lt;BR /&gt;kill -9 should be used only as a last resort but it will do nothing if the process is not running, as in waiting for an I/O to complete. In badly written application programs, a network I/O is initiated without any timeout and when a problem occurs in the network, the program can never be killed. kill -9 sets the flag but the program isn't running.&lt;BR /&gt; &lt;BR /&gt;SO tghe first command to stop a program would be to use kill (with no signal number) or kill -15. Check if the program has stopped with ps. If it has not stopped after 5-10 seconds, try kill -1 to signal the program that it has been disconnected from any terminal I/O. If there is a programmer that can read the core file, then use kill -3 if kill -15 and kill -1 do not work.</description>
      <pubDate>Sat, 18 Oct 2008 22:59:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4289676#M336621</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-10-18T22:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Kill</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4289677#M336622</link>
      <description>Instead of Bill's kill -1, etc, you might want to use their names:&lt;BR /&gt;kill -HUP  # -1&lt;BR /&gt;kill -QUIT # -3&lt;BR /&gt;kill -TERM # -15&lt;BR /&gt;Use "kill -l" to list.&lt;BR /&gt;You can continue to use -9.  :-)</description>
      <pubDate>Sun, 19 Oct 2008 00:18:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill/m-p/4289677#M336622</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-10-19T00:18:03Z</dc:date>
    </item>
  </channel>
</rss>

