<?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: Blocked Shell in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/blocked-shell/m-p/3595626#M232045</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt; w;w|tail -n +3|while read a b c&lt;BR /&gt;   do&lt;BR /&gt;    ps -t $b&lt;BR /&gt;   done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Works&lt;BR /&gt;&lt;BR /&gt;w;w|tail -n +3|while read a b c^Jdo^Jps -t $b^Jdone&lt;BR /&gt;  5:05pm  up 69 days, 15:40,  8 users,  load average: 0.09, 0.09, 0.11&lt;BR /&gt;User     tty           login@  idle   JCPU   PCPU  what&lt;BR /&gt;root     console      10:30am 25:38                rlogin cpt-hook&lt;BR /&gt;root     pts/ta       12:47pm  7:41                -sh&lt;BR /&gt;root     pts/0         8:43am                      w&lt;BR /&gt;root     pts/tb        3:08pm     3      5      5  ftp ruby&lt;BR /&gt;root     pts/1         3:20pm  1:45                -sh&lt;BR /&gt;root     pts/2        11:28am341:35 1715:38 1715:38  ignite&lt;BR /&gt;chrishu  pts/3        11:48am 31:53                -sh&lt;BR /&gt;bergmans pts/te        6:01pm148:48                ksh -o emacs&lt;BR /&gt;   PID TTY       TIME COMMAND&lt;BR /&gt; 16314 console   0:00 sh&lt;BR /&gt; 23061 console   0:00 rlogin&lt;BR /&gt; 23062 console   0:00 rlogin&lt;BR /&gt;   PID TTY       TIME COMMAND&lt;BR /&gt; 10101 pts/ta    0:00 sh&lt;BR /&gt; 10100 pts/ta    0:00 telnetd&lt;BR /&gt;   PID TTY       TIME COMMAND&lt;BR /&gt;  8719 pts/0     0:00 rlogind&lt;BR /&gt; 16879 pts/0     0:00 ps&lt;BR /&gt;  8721 pts/0     0:00 sh&lt;BR /&gt;   PID TTY       TIME COMMAND&lt;BR /&gt; 10999 pts/tb    0:00 sh&lt;BR /&gt; 16824 pts/tb    0:05 ftp&lt;BR /&gt; 10998 pts/tb    0:00 telnetd&lt;BR /&gt;   PID TTY       TIME COMMAND&lt;BR /&gt; 12537 pts/1     0:00 sh&lt;BR /&gt; 12535 pts/1     0:00 rlogind&lt;BR /&gt;   PID TTY       TIME COMMAND&lt;BR /&gt; 25442 pts/2    1715:38 ignite.10&lt;BR /&gt; 25410 pts/2     0:00 sh&lt;BR /&gt; 25439 pts/2     0:00 ignite.10&lt;BR /&gt; 25408 pts/2     0:00 rlogind&lt;BR /&gt;   PID TTY       TIME COMMAND&lt;BR /&gt;  6738 pts/3     0:00 rlogind&lt;BR /&gt;  6740 pts/3     0:00 sh&lt;BR /&gt;  6761 pts/3     0:00 sh&lt;BR /&gt;   PID TTY       TIME COMMAND&lt;BR /&gt;   380 pts/te    0:00 sh&lt;BR /&gt;   379 pts/te    0:00 telnetd&lt;BR /&gt;   463 pts/te    0:00 sh&lt;BR /&gt;   488 pts/te    0:00 ksh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;There you see it all&lt;BR /&gt;&lt;BR /&gt;use ps -ft is even better&lt;BR /&gt;&lt;BR /&gt;        Steve Steel&lt;BR /&gt;</description>
    <pubDate>Wed, 03 Aug 2005 10:08:45 GMT</pubDate>
    <dc:creator>Steve Steel</dc:creator>
    <dc:date>2005-08-03T10:08:45Z</dc:date>
    <item>
      <title>Blocked Shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocked-shell/m-p/3595622#M232041</link>
      <description>I have a problem with my server (rp3410 - hp-ux 11.11) &lt;BR /&gt;Database: IBM Informix Dynamic Server Version 7.31.FD8&lt;BR /&gt;&lt;BR /&gt;when i execute # w&lt;BR /&gt;katiane  pts/23  7:45am  9    -&lt;BR /&gt;marcelo  pts/22  7:45am  9    -ksh&lt;BR /&gt;&lt;BR /&gt;When i execute # ps -ef&lt;BR /&gt;the " - " don't appear &lt;BR /&gt;&lt;BR /&gt;and i can't kill the process, and the user can't connect again, because have a script that a user can connect only one time.&lt;BR /&gt;&lt;BR /&gt;How can i find and kill the process " - " ???&lt;BR /&gt;&lt;BR /&gt;Fernando.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Aug 2005 07:16:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocked-shell/m-p/3595622#M232041</guid>
      <dc:creator>Fernando Jose P de Souz</dc:creator>
      <dc:date>2005-08-03T07:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Blocked Shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocked-shell/m-p/3595623#M232042</link>
      <description>Hi Fernando,&lt;BR /&gt;&lt;BR /&gt;I don't know if I understood your problem, but try at the shell prompt:&lt;BR /&gt;&lt;BR /&gt;who -u&lt;BR /&gt;&lt;BR /&gt;It will show you usernames with their sh PID, the you just have to:&lt;BR /&gt;&lt;BR /&gt;kill PID of the process ID of the user login.&lt;BR /&gt;&lt;BR /&gt;Enjoy :&lt;BR /&gt;&lt;BR /&gt;Pedro</description>
      <pubDate>Wed, 03 Aug 2005 07:20:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocked-shell/m-p/3595623#M232042</guid>
      <dc:creator>Pedro Cirne</dc:creator>
      <dc:date>2005-08-03T07:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Blocked Shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocked-shell/m-p/3595624#M232043</link>
      <description>Hi,&lt;BR /&gt;Try to execute&lt;BR /&gt;#ps -ef | grep "pts/23"&lt;BR /&gt;and you can see the process number on pts/23 and you can kill it.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Borislav&lt;BR /&gt;&lt;BR /&gt;Don't forget to assign points.</description>
      <pubDate>Wed, 03 Aug 2005 08:56:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocked-shell/m-p/3595624#M232043</guid>
      <dc:creator>Borislav Perkov</dc:creator>
      <dc:date>2005-08-03T08:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Blocked Shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocked-shell/m-p/3595625#M232044</link>
      <description>-ksh is a login shell.&lt;BR /&gt;just ksh may be a shell started from login shell by a user.&lt;BR /&gt;ps -ef | grep [-]ksh&lt;BR /&gt;&lt;BR /&gt;Should give you all details. Also you can look at login shells pid as follows.&lt;BR /&gt;&lt;BR /&gt;who -Hu&lt;BR /&gt;Look at PID column.</description>
      <pubDate>Wed, 03 Aug 2005 09:36:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocked-shell/m-p/3595625#M232044</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-08-03T09:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Blocked Shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocked-shell/m-p/3595626#M232045</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt; w;w|tail -n +3|while read a b c&lt;BR /&gt;   do&lt;BR /&gt;    ps -t $b&lt;BR /&gt;   done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Works&lt;BR /&gt;&lt;BR /&gt;w;w|tail -n +3|while read a b c^Jdo^Jps -t $b^Jdone&lt;BR /&gt;  5:05pm  up 69 days, 15:40,  8 users,  load average: 0.09, 0.09, 0.11&lt;BR /&gt;User     tty           login@  idle   JCPU   PCPU  what&lt;BR /&gt;root     console      10:30am 25:38                rlogin cpt-hook&lt;BR /&gt;root     pts/ta       12:47pm  7:41                -sh&lt;BR /&gt;root     pts/0         8:43am                      w&lt;BR /&gt;root     pts/tb        3:08pm     3      5      5  ftp ruby&lt;BR /&gt;root     pts/1         3:20pm  1:45                -sh&lt;BR /&gt;root     pts/2        11:28am341:35 1715:38 1715:38  ignite&lt;BR /&gt;chrishu  pts/3        11:48am 31:53                -sh&lt;BR /&gt;bergmans pts/te        6:01pm148:48                ksh -o emacs&lt;BR /&gt;   PID TTY       TIME COMMAND&lt;BR /&gt; 16314 console   0:00 sh&lt;BR /&gt; 23061 console   0:00 rlogin&lt;BR /&gt; 23062 console   0:00 rlogin&lt;BR /&gt;   PID TTY       TIME COMMAND&lt;BR /&gt; 10101 pts/ta    0:00 sh&lt;BR /&gt; 10100 pts/ta    0:00 telnetd&lt;BR /&gt;   PID TTY       TIME COMMAND&lt;BR /&gt;  8719 pts/0     0:00 rlogind&lt;BR /&gt; 16879 pts/0     0:00 ps&lt;BR /&gt;  8721 pts/0     0:00 sh&lt;BR /&gt;   PID TTY       TIME COMMAND&lt;BR /&gt; 10999 pts/tb    0:00 sh&lt;BR /&gt; 16824 pts/tb    0:05 ftp&lt;BR /&gt; 10998 pts/tb    0:00 telnetd&lt;BR /&gt;   PID TTY       TIME COMMAND&lt;BR /&gt; 12537 pts/1     0:00 sh&lt;BR /&gt; 12535 pts/1     0:00 rlogind&lt;BR /&gt;   PID TTY       TIME COMMAND&lt;BR /&gt; 25442 pts/2    1715:38 ignite.10&lt;BR /&gt; 25410 pts/2     0:00 sh&lt;BR /&gt; 25439 pts/2     0:00 ignite.10&lt;BR /&gt; 25408 pts/2     0:00 rlogind&lt;BR /&gt;   PID TTY       TIME COMMAND&lt;BR /&gt;  6738 pts/3     0:00 rlogind&lt;BR /&gt;  6740 pts/3     0:00 sh&lt;BR /&gt;  6761 pts/3     0:00 sh&lt;BR /&gt;   PID TTY       TIME COMMAND&lt;BR /&gt;   380 pts/te    0:00 sh&lt;BR /&gt;   379 pts/te    0:00 telnetd&lt;BR /&gt;   463 pts/te    0:00 sh&lt;BR /&gt;   488 pts/te    0:00 ksh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;There you see it all&lt;BR /&gt;&lt;BR /&gt;use ps -ft is even better&lt;BR /&gt;&lt;BR /&gt;        Steve Steel&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Aug 2005 10:08:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocked-shell/m-p/3595626#M232045</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2005-08-03T10:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Blocked Shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocked-shell/m-p/3595627#M232046</link>
      <description>The - is just a special flag to indicate that this particular process is a login shell--the one that was started when the user marcelo logged in. To see exactly what macelo is doing, ask for the processes that are owned by marcelo:&lt;BR /&gt; &lt;BR /&gt;ps -fu marcelo</description>
      <pubDate>Wed, 03 Aug 2005 10:26:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocked-shell/m-p/3595627#M232046</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-08-03T10:26:29Z</dc:date>
    </item>
  </channel>
</rss>

