<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.hacks.be/wiki/index.php?action=history&amp;feed=atom&amp;title=List_connected_sessions</id>
	<title>List connected sessions - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.hacks.be/wiki/index.php?action=history&amp;feed=atom&amp;title=List_connected_sessions"/>
	<link rel="alternate" type="text/html" href="https://www.hacks.be/wiki/index.php?title=List_connected_sessions&amp;action=history"/>
	<updated>2026-04-30T13:13:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://www.hacks.be/wiki/index.php?title=List_connected_sessions&amp;diff=49&amp;oldid=prev</id>
		<title>193.121.160.69: Created page with &quot;Show connected sessions, join of v$session and v$process &lt;source lang=&quot;sql&quot;&gt; select s.*, p.*   from gv$session s      , gv$process p  where p.addr = s.paddr    and p.inst_id =...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.hacks.be/wiki/index.php?title=List_connected_sessions&amp;diff=49&amp;oldid=prev"/>
		<updated>2016-04-18T10:47:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Show connected sessions, join of v$session and v$process &amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt; select s.*, p.*   from gv$session s      , gv$process p  where p.addr = s.paddr    and p.inst_id =...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Show connected sessions, join of v$session and v$process&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
select s.*, p.*&lt;br /&gt;
  from gv$session s&lt;br /&gt;
     , gv$process p&lt;br /&gt;
 where p.addr = s.paddr&lt;br /&gt;
   and p.inst_id = s.inst_id;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Filter some accounts that we often don&amp;#039;t want to see&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
select s.*, p.*&lt;br /&gt;
  from gv$session s&lt;br /&gt;
     , gv$process p&lt;br /&gt;
 where p.addr = s.paddr&lt;br /&gt;
   and p.inst_id = s.inst_id&lt;br /&gt;
   and s.username is not null&lt;br /&gt;
   and s.username not in (&amp;#039;SYS&amp;#039;, &amp;#039;SYSTEM&amp;#039;, &amp;#039;DBSNMP&amp;#039;)&lt;br /&gt;
 order by s.last_call_et desc;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>193.121.160.69</name></author>
	</entry>
</feed>