<?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 Script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3209848#M168329</link>
    <description>After install patches at l2000, my scripts not functional correctly. Why?&lt;BR /&gt;&lt;BR /&gt;This script kill more than one connection from the users and now the conecctions are queued.&lt;BR /&gt;&lt;BR /&gt;Why?  &lt;BR /&gt;&lt;BR /&gt;Elizangela</description>
    <pubDate>Thu, 04 Mar 2004 14:58:36 GMT</pubDate>
    <dc:creator>Elizangela_1</dc:creator>
    <dc:date>2004-03-04T14:58:36Z</dc:date>
    <item>
      <title>Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3209848#M168329</link>
      <description>After install patches at l2000, my scripts not functional correctly. Why?&lt;BR /&gt;&lt;BR /&gt;This script kill more than one connection from the users and now the conecctions are queued.&lt;BR /&gt;&lt;BR /&gt;Why?  &lt;BR /&gt;&lt;BR /&gt;Elizangela</description>
      <pubDate>Thu, 04 Mar 2004 14:58:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3209848#M168329</guid>
      <dc:creator>Elizangela_1</dc:creator>
      <dc:date>2004-03-04T14:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3209849#M168330</link>
      <description>What version of HP-UX?  What patches were installed?  What exactly does your script do?  What connections are queued?  How do the user connect to the system?&lt;BR /&gt;&lt;BR /&gt;I can't say why without a bit more information.</description>
      <pubDate>Thu, 04 Mar 2004 15:02:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3209849#M168330</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-03-04T15:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3209850#M168331</link>
      <description>HP-UX version 11.00&lt;BR /&gt;&lt;BR /&gt;Patches: Quality Pack and HW Enable&lt;BR /&gt;&lt;BR /&gt;The script:&lt;BR /&gt;&lt;BR /&gt;echo "Entre com a Opcao Desejada : \c"&lt;BR /&gt;read opcao&lt;BR /&gt; &lt;BR /&gt;if [ $opcao -eq 5 2&amp;gt;/dev/null ]&lt;BR /&gt;   then&lt;BR /&gt;   cls&lt;BR /&gt;   kill -9 0;&lt;BR /&gt;elif&lt;BR /&gt;   [ $opcao -eq 2 2&amp;gt;/dev/null ]&lt;BR /&gt;   then&lt;BR /&gt;   cd /oracle/systur;&lt;BR /&gt;   runmenu50 -c ansiu:utd $LOGNAME/demo GER_1210&lt;BR /&gt;elif&lt;BR /&gt;   [ $opcao -eq 4 2&amp;gt;/dev/null ]&lt;BR /&gt;   then&lt;BR /&gt;   cd /oracle/systur;&lt;BR /&gt;   runmenu50 -c ansiu:utd $LOGNAME/demo GER_1600&lt;BR /&gt;elif&lt;BR /&gt;   [ $opcao -eq 1 2&amp;gt;/dev/null ]&lt;BR /&gt;   then&lt;BR /&gt;   cd /oracle/systur;&lt;BR /&gt;   runmenu50 -c ansiu:utd $LOGNAME/demo GER_1200&lt;BR /&gt;elif&lt;BR /&gt;   [ $opcao -eq 3 2&amp;gt;/dev/null ]&lt;BR /&gt;   then&lt;BR /&gt;   cd /oracle/systur;&lt;BR /&gt;   runmenu50 -c ansiu:utd $LOGNAME/demo GER_1220&lt;BR /&gt;fi&lt;BR /&gt; &lt;BR /&gt;if [ a$opcao = a ]&lt;BR /&gt;   then&lt;BR /&gt;   cls&lt;BR /&gt;fi&lt;BR /&gt; &lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The users connect by telnet</description>
      <pubDate>Thu, 04 Mar 2004 15:13:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3209850#M168331</guid>
      <dc:creator>Elizangela_1</dc:creator>
      <dc:date>2004-03-04T15:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3209851#M168332</link>
      <description>I'm  probably misunderstanding, but:&lt;BR /&gt;&lt;BR /&gt;Kill -9 0 ???????  Swapper ???????  My Spanish isn't all that great, but I find it hard to imagine a circumstance where you would want to kill off swapper.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 04 Mar 2004 15:16:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3209851#M168332</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-03-04T15:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3209852#M168333</link>
      <description>She seems to be from Brazil,&lt;BR /&gt;so the script probably speaks Portugese.&lt;BR /&gt;Maybe they have a different Proc mapping overthere, or she is kidding?</description>
      <pubDate>Thu, 04 Mar 2004 15:30:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3209852#M168333</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2004-03-04T15:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3209853#M168334</link>
      <description>Pete, did you look at man kill recently?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;= 0  All processes, except special system processes, whose process group ID is equal to the process group ID of the sender.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So Elizangela, it could means that:&lt;BR /&gt;the shell ( posix or ksh ?) changed the way it set the process group&lt;BR /&gt;&lt;BR /&gt;So you should check the process group of you connections process to see if they should ne killed or not&lt;BR /&gt;&lt;BR /&gt;To check that just do a &lt;BR /&gt;UNIX95= ps -j&lt;BR /&gt;just before the kill.&lt;BR /&gt;you can also try to  test &lt;BR /&gt;set +m or set -m at the begining of the script&lt;BR /&gt;you can try to see if you are using posix shell, if the behaviour is the same with ksh.( and reverse)&lt;BR /&gt;set +m change the behaviour of how a shell manage its child, and if it run then in the same process group or an other.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Mar 2004 05:32:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3209853#M168334</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2004-03-05T05:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3209854#M168335</link>
      <description>Hi Elizangela,&lt;BR /&gt;&lt;BR /&gt;I'm not sure if you haven't shown us the whole script, but there should be a shell definition at the very top. ie #!/bin/sh&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Darren.</description>
      <pubDate>Fri, 05 Mar 2004 06:31:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3209854#M168335</guid>
      <dc:creator>Darren Prior</dc:creator>
      <dc:date>2004-03-05T06:31:20Z</dc:date>
    </item>
  </channel>
</rss>

