Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: top CPU utilizing sessions

Re: top CPU utilizing sessions

From: <jametong_at_gmail.com>
Date: Tue, 29 Mar 2005 18:26:48 +0800
Message-ID: <42492ddd.03f69c3f.09ab.0b55@mx.gmail.com>


Hello The Human Fly,

I think this query can give you some hint.:-)

select b.username,b.sid,b.serial#,b.osuser,b.machine,b.program,c.name,a.value from v$sesstat a,v$session b,v$statname c where a.sid = b.sid and a.statistic# = c.statistic# and a.statistic# = 12
order by value desc;

Best regards,   

>Hello list,
>
>Can any one give me the script from which I can find out of my all
>current users top session by CPU TIME like the one which we get in OEM
>CONSOLE sessionS.
>
>Jaffar
>----------------------------------------------------------------------------------------
>"It is your atittude, not your aptitude that determins your altitude."
>--
>http://www.freelists.org/webpage/oracle-l

jametong
jametong_at_gmaill.com
2005-03-29

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Mar 29 2005 - 05:32:48 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US