<?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: How can I tell which one is my current active terminal session? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-tell-which-one-is-my-current-active-terminal-session/m-p/3540915#M17486</link>
    <description>that'd be a 'ps' without a '-e'. i.e. 'ps -l' will give you a long listing of the current tty..&lt;BR /&gt;&lt;BR /&gt;The 'who am i' might also be useful.&lt;BR /&gt;&lt;BR /&gt;If you want to find child/parent process structures, then the 'pstree' command is your friend, i.d. 'pstree -chp'.</description>
    <pubDate>Tue, 10 May 2005 01:36:35 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2005-05-10T01:36:35Z</dc:date>
    <item>
      <title>How can I tell which one is my current active terminal session?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-tell-which-one-is-my-current-active-terminal-session/m-p/3540912#M17483</link>
      <description>Hi,&lt;BR /&gt;Would someone please tell me how I can tell which is my current terminal seesion (tty), so that I don't kill the wrong session.  I am currently runing RHAS 3.0 64-bits Linux.&lt;BR /&gt;&lt;BR /&gt;Thank you very mcuh!&lt;BR /&gt;Ian</description>
      <pubDate>Mon, 09 May 2005 22:55:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-tell-which-one-is-my-current-active-terminal-session/m-p/3540912#M17483</guid>
      <dc:creator>Ian Derringer</dc:creator>
      <dc:date>2005-05-09T22:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can I tell which one is my current active terminal session?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-tell-which-one-is-my-current-active-terminal-session/m-p/3540913#M17484</link>
      <description>u can use 'tty' to get the current login terminal.&lt;BR /&gt;then use 'who -u |grep &lt;TERMINAL&gt;' to get the current login's pid.&lt;/TERMINAL&gt;</description>
      <pubDate>Mon, 09 May 2005 23:47:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-tell-which-one-is-my-current-active-terminal-session/m-p/3540913#M17484</guid>
      <dc:creator>Bejoy C Alias</dc:creator>
      <dc:date>2005-05-09T23:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can I tell which one is my current active terminal session?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-tell-which-one-is-my-current-active-terminal-session/m-p/3540914#M17485</link>
      <description>&lt;BR /&gt;use tty command to find out the current tty.&lt;BR /&gt;&lt;BR /&gt;if you use ps without any options then by default you will be presented with the process list which belongs to your tty alone, you can search for your process and kill it.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;G</description>
      <pubDate>Tue, 10 May 2005 01:18:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-tell-which-one-is-my-current-active-terminal-session/m-p/3540914#M17485</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-05-10T01:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can I tell which one is my current active terminal session?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-tell-which-one-is-my-current-active-terminal-session/m-p/3540915#M17486</link>
      <description>that'd be a 'ps' without a '-e'. i.e. 'ps -l' will give you a long listing of the current tty..&lt;BR /&gt;&lt;BR /&gt;The 'who am i' might also be useful.&lt;BR /&gt;&lt;BR /&gt;If you want to find child/parent process structures, then the 'pstree' command is your friend, i.d. 'pstree -chp'.</description>
      <pubDate>Tue, 10 May 2005 01:36:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-tell-which-one-is-my-current-active-terminal-session/m-p/3540915#M17486</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-05-10T01:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: How can I tell which one is my current active terminal session?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-tell-which-one-is-my-current-active-terminal-session/m-p/3540916#M17487</link>
      <description>Hi Ian,&lt;BR /&gt;&lt;BR /&gt;try ps |grep $$&lt;BR /&gt;&lt;BR /&gt;Cheerio,&lt;BR /&gt;&lt;BR /&gt;Renarios</description>
      <pubDate>Tue, 10 May 2005 03:55:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-tell-which-one-is-my-current-active-terminal-session/m-p/3540916#M17487</guid>
      <dc:creator>renarios</dc:creator>
      <dc:date>2005-05-10T03:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: How can I tell which one is my current active terminal session?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-tell-which-one-is-my-current-active-terminal-session/m-p/3540917#M17488</link>
      <description>This is GREAT!!  Thanks so much!!&lt;BR /&gt;&lt;BR /&gt;Ian</description>
      <pubDate>Tue, 10 May 2005 10:15:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-tell-which-one-is-my-current-active-terminal-session/m-p/3540917#M17488</guid>
      <dc:creator>Ian Derringer</dc:creator>
      <dc:date>2005-05-10T10:15:46Z</dc:date>
    </item>
  </channel>
</rss>

