<?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: Terminate -0 terminates process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728018#M946232</link>
    <description>&lt;P&gt;Isn't terminate a built-in in the standard HP-UX POSIX shell? WHat happens if you explicitly specify /usr/bin/terminate instead?&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jun 2022 08:13:19 GMT</pubDate>
    <dc:creator>Duncan Edmonstone</dc:creator>
    <dc:date>2022-06-30T08:13:19Z</dc:date>
    <item>
      <title>Kill -0 kills process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728008#M946222</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;How can the above happen?  We have a process whereby we wish to check whether it is alive using kill -0 (SIGNULL).  Instead, it is killed like a kill -9.  How can this be?  All other processes are not killed by kill -0, as usual.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Vince</description>
      <pubDate>Tue, 21 May 2002 07:50:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728008#M946222</guid>
      <dc:creator>Vincent Farrugia</dc:creator>
      <dc:date>2002-05-21T07:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Kill -0 kills process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728009#M946223</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This is indeed unusual. You may like to update your system patches in the hope that this is a system bug.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Tue, 21 May 2002 07:57:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728009#M946223</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-05-21T07:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Kill -0 kills process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728010#M946224</link>
      <description>It depends of the programmers code how to handle a signal. Seems in your case the SIGNULL performs an exit.&lt;BR /&gt;&lt;BR /&gt;Ruediger&lt;BR /&gt;</description>
      <pubDate>Tue, 21 May 2002 08:01:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728010#M946224</guid>
      <dc:creator>Ruediger Noack</dc:creator>
      <dc:date>2002-05-21T08:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Kill -0 kills process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728011#M946225</link>
      <description>&lt;BR /&gt;The application has it's own signal handler installed.&lt;BR /&gt;&lt;BR /&gt;In an application you can define what to do upon receiving a signal. (using call sigset).&lt;BR /&gt;&lt;BR /&gt;The application has the exit() function installed in its signal handler as a reaction to receiving signal 0.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Rainer&lt;BR /&gt;</description>
      <pubDate>Tue, 21 May 2002 08:07:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728011#M946225</guid>
      <dc:creator>Rainer von Bongartz</dc:creator>
      <dc:date>2002-05-21T08:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Kill -0 kills process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728012#M946226</link>
      <description>&lt;P&gt;I don't think it can be the signal handler in the process, as according to the man page for terminate, it never gets a signal:&lt;BR /&gt;&lt;BR /&gt;SIGNULL (0), the null signal, invokes error checking but no signal is&lt;BR /&gt;actually sent. This can be used to test the validity or existence of&lt;BR /&gt;pid.&lt;BR /&gt;&lt;BR /&gt;Very strange... what is the process in question?&lt;BR /&gt;&lt;BR /&gt;Duncan&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 10:36:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728012#M946226</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2022-06-30T10:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Kill -0 kills process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728013#M946227</link>
      <description>If the process is a shell sig 0 is ERR (syntax error) , and then execute exit from the function ( if any) or script.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;See man sh (trap).&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Tue, 21 May 2002 08:34:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728013#M946227</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2002-05-21T08:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Kill -0 kills process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728014#M946228</link>
      <description>The process is one used by a database software.  The machine is new (rp5450) and contains the latest March 2002 patches.</description>
      <pubDate>Tue, 21 May 2002 09:07:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728014#M946228</guid>
      <dc:creator>Vincent Farrugia</dc:creator>
      <dc:date>2002-05-21T09:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Kill -0 kills process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728015#M946229</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Can you just confirm that a "kill -0" is being used, and not a "kill 0".</description>
      <pubDate>Tue, 21 May 2002 09:33:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728015#M946229</guid>
      <dc:creator>Deepak Extross</dc:creator>
      <dc:date>2002-05-21T09:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Kill -0 kills process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728016#M946230</link>
      <description>Vince,&lt;BR /&gt;&lt;BR /&gt;You don't have "kill" aliased do you?&lt;BR /&gt;&lt;BR /&gt;Have you tried this manually from the command line on the process, because I'm assuming you have a script that is checking to see if the process is running?&lt;BR /&gt;&lt;BR /&gt;Also, what shell are you using for your script?&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Tue, 21 May 2002 10:54:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728016#M946230</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-05-21T10:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Kill -0 kills process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728017#M946231</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I'm using kill -s 0.  Only this process is being killed, the others aren't, so no alias.  I tried it on a script and also on the command line.  I'm using the normal sh shell.&lt;BR /&gt;&lt;BR /&gt;Vince</description>
      <pubDate>Tue, 21 May 2002 12:15:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728017#M946231</guid>
      <dc:creator>Vincent Farrugia</dc:creator>
      <dc:date>2002-05-21T12:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Terminate -0 terminates process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728018#M946232</link>
      <description>&lt;P&gt;Isn't terminate a built-in in the standard HP-UX POSIX shell? WHat happens if you explicitly specify /usr/bin/terminate instead?&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 08:13:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728018#M946232</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2022-06-30T08:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Kill -0 kills process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728019#M946233</link>
      <description>May be tusc (an aquivalent to truss) will help you to find out what happens.&lt;BR /&gt;Look in this thread where tusc is to download:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x3d9fee3e323bd5118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x3d9fee3e323bd5118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;Ruediger&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 May 2002 12:35:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728019#M946233</guid>
      <dc:creator>Ruediger Noack</dc:creator>
      <dc:date>2002-05-21T12:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Kill -0 kills process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728020#M946234</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;actually it might be more about your shell, than about the signal handler: in the past it was a kind of custom to send kill to pseudo-pid 0 in order to kill all processes of your *session* (ascii-terminal session, remind you).&lt;BR /&gt;So the kill command was implemented differently (might have been a "built-in" command, i.e. built-into the shell, like "cd").&lt;BR /&gt;&lt;BR /&gt;FWIW,&lt;BR /&gt;Wodisch&lt;BR /&gt;</description>
      <pubDate>Tue, 21 May 2002 13:59:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kill-0-kills-process/m-p/2728020#M946234</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2002-05-21T13:59:15Z</dc:date>
    </item>
  </channel>
</rss>

