Oracle: Ki van bejelntkezve és milyen query-t futtat. Hasznos, ha memóriaszivágás esetén.
select status, username, schemaname, osuser, machine, terminal, program,
s.module, logon_time, event, seconds_in_wait, state, s.sql_hash_value,
s.prev_hash_value, q1.sql_text, q2.sql_text perv_sql_text
from v$session s, v$sqlarea q1, v$sqlarea q2
where s.sql_hash_value=q1.hash_value(+)
and s.prev_hash_value=q2.hash_value(+)
and schemaname<>'SYS'
order by status, username