Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Couple questions: raw drives and top sessions
Hello,
I have a couple questions that have been building up for some time. If you
can answer them, I'd very much appreciate it:
2)How can I find the top sessions using my instance *without* resorting to
Enterprise Manager or statspack? I found this looking around in this ng's
archive:
select username, terminal, name, value
from v$statname n,
v$session s,
v$sesstat t
where s.sid=t.sid
and n.statistic# = t.statistic# and s.type = 'USER' and s.username is not NULL and n.name = 'session pga memory' and t.value > &use_at_least_30000;
TIA,
Simon Gottesman
Received on Mon Jan 28 2002 - 20:21:12 CST