tags:

views:

2170

answers:

1

As the title implies, is there any hidden table, system variable or something to show active connections in a given moment? Thanks.

+4  A: 

Use the v$session table.

Visage
Error starting at line 1 in command:select * from FROM v$sessionError at Command Line:1 Column:14Error report:SQL Error: ORA-00903: invalid table name00903. 00000 - "invalid table name"*Cause: *Action:
pistacchio
Either you don't have permissions, or you didn't install the DBA views correctly.
S.Lott
You'll need the select_catalog_role role.
Visage
You can join v$sqltext to get the current SQL of sessions too.
Alkini