<?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: &amp;quot;kill&amp;quot; command . in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-kill-quot-command/m-p/2612471#M36550</link>
    <description>kill -9 is killing without any mercy i.e. it shuts the&lt;BR /&gt;process irrespective of what&lt;BR /&gt;it is doing. &lt;BR /&gt;&lt;BR /&gt;Whereas the other kill is a graceful kill .&lt;BR /&gt;&lt;BR /&gt;use kill -9, only when the&lt;BR /&gt;other kill does not work and you really want to kill.&lt;BR /&gt;&lt;BR /&gt;Ooph, too many kill''s here.&lt;BR /&gt;&lt;BR /&gt;-raj</description>
    <pubDate>Tue, 13 Nov 2001 01:01:42 GMT</pubDate>
    <dc:creator>Roger Baptiste</dc:creator>
    <dc:date>2001-11-13T01:01:42Z</dc:date>
    <item>
      <title>"kill" command .</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-kill-quot-command/m-p/2612468#M36547</link>
      <description>What's the difference of ???kill pid??? and ???kill ???9 pid????&lt;BR /&gt;TKS!</description>
      <pubDate>Tue, 13 Nov 2001 00:47:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-kill-quot-command/m-p/2612468#M36547</guid>
      <dc:creator>Hell.Leader</dc:creator>
      <dc:date>2001-11-13T00:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: "kill" command .</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-kill-quot-command/m-p/2612469#M36548</link>
      <description>OUCH!&lt;BR /&gt;&lt;BR /&gt;kill pid, allows the process (if written correctly) to die gracefully.&lt;BR /&gt;&lt;BR /&gt;kill -9 pid is like killing a fly with a daisy cutter (that 15,000 pound bomb). It can cause database corruption and other issues. Should only be a last resort!&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Tue, 13 Nov 2001 00:50:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-kill-quot-command/m-p/2612469#M36548</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-11-13T00:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: "kill" command .</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-kill-quot-command/m-p/2612470#M36549</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The main difference is killing the pid&lt;BR /&gt;gracefully and hopefully the process&lt;BR /&gt;cleans itself up and closes files. Using&lt;BR /&gt;the kill -9 option is hitting the process&lt;BR /&gt;with a sledge hammer. In other words don't&lt;BR /&gt;use it unless you have to. On a lot of&lt;BR /&gt;occassions using -9 does not clean up.&lt;BR /&gt;&lt;BR /&gt;If you want to kill a process try this order:&lt;BR /&gt;&lt;BR /&gt;# kill pid&lt;BR /&gt;# kill -5 pid&lt;BR /&gt;# kill -9&lt;BR /&gt;&lt;BR /&gt;-Michael</description>
      <pubDate>Tue, 13 Nov 2001 00:58:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-kill-quot-command/m-p/2612470#M36549</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-11-13T00:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: "kill" command .</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-kill-quot-command/m-p/2612471#M36550</link>
      <description>kill -9 is killing without any mercy i.e. it shuts the&lt;BR /&gt;process irrespective of what&lt;BR /&gt;it is doing. &lt;BR /&gt;&lt;BR /&gt;Whereas the other kill is a graceful kill .&lt;BR /&gt;&lt;BR /&gt;use kill -9, only when the&lt;BR /&gt;other kill does not work and you really want to kill.&lt;BR /&gt;&lt;BR /&gt;Ooph, too many kill''s here.&lt;BR /&gt;&lt;BR /&gt;-raj</description>
      <pubDate>Tue, 13 Nov 2001 01:01:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-kill-quot-command/m-p/2612471#M36550</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-11-13T01:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: "kill" command .</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-kill-quot-command/m-p/2612472#M36551</link>
      <description>kill actually does not perform any termination of a process--it is really a signal program that places a signal into the process table for the listed process(es).  There are many kill signals: kill (no option) or kill -15 (which is the default for kill) and kill -s SIGTERM (another way to specify kill signals) is the least intrusive.  Properly written programs and scripts will trap this signal and perform an orderly shutdown of the process.&lt;BR /&gt;&lt;BR /&gt;However, if a process ignores the kill signal then nothing happens with kill -15.  Other kill signals are kill -1 (or SIGHUP) which is sent automatically when a disconnect (hang up as in a modem) occurs, kill -2 (or SIGQUIT) which causes a process to core dump, and so on.&lt;BR /&gt;&lt;BR /&gt;In fact, signals can be detected and the process can continue on...it is just a signal. An example is kill -SIGKILL $(cat /var/run/syslog.pid) which causes syslogd to reread it's config file. named uses several kill signals including SIGUSR1 and SIGUSR2.</description>
      <pubDate>Tue, 13 Nov 2001 02:28:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-kill-quot-command/m-p/2612472#M36551</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-11-13T02:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: "kill" command .</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-kill-quot-command/m-p/2612473#M36552</link>
      <description>Hi TKS,&lt;BR /&gt;&lt;BR /&gt;Take a look at the thread below,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support.external.hp.com/cki/bin/doc.pl/sid=d0bdf4ff1b193026a0/screen=ckiDisplayDocument?docId=200000006354750" target="_blank"&gt;http://us-support.external.hp.com/cki/bin/doc.pl/sid=d0bdf4ff1b193026a0/screen=ckiDisplayDocument?docId=200000006354750&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Nov 2001 02:47:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-kill-quot-command/m-p/2612473#M36552</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-11-13T02:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: "kill" command .</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-kill-quot-command/m-p/2612474#M36553</link>
      <description>Look at the man page for signal for a list of them.  Some can be trapped by the process and coded to perform whatever task one desires.  That includes the default signal 15 sent by kill pid.  Others can not be trapped and the process has no choice in how to handle the signal.  A kill -9 is one of those.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Tue, 13 Nov 2001 03:18:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-kill-quot-command/m-p/2612474#M36553</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-11-13T03:18:16Z</dc:date>
    </item>
  </channel>
</rss>

