Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Info about running procs
Take a look at Steve Adam's http://www.ixora.com.au/scripts/sql/executing_packages.sql
"This script lists the packages (and other stored code objects) that are currently being executed, and the SIDs of the executing sessions. " It is listed as for 8.0 / 8.1
Remember to check out the prerequisites at http://www.ixora.com.au/scripts/prereq.htm
HTH,
Bruce Reardon
-----Original Message-----
Sent: Wednesday, 15 January 2003 7:29 AM
> v.schoen_at_inplan.de wrote:
>
> Hi list,
>
> I'm looking for a Oracle system view or table where I can see all
> actual running procedures. Where can I find this info.
>
> TIA
>
> Volker Schoen
> E-Mail: v.schoen_at_inplan.de
> http://www.inplan.de
I think that a join between v$session (where status = 'ACTIVE') and
x$kglrd should do it (join SQL_ADDRESS + SQL_HASH_VALUE to kglrdhdl +
kglnadhv). You need to be SYS of course, so perhaps you'll want to
create a view.
Author: Stephane Faroult
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Reardon, Bruce (CALBBAY) INET: Bruce.Reardon_at_comalco.riotinto.com.au Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Tue Jan 14 2003 - 19:54:05 CST
![]() |
![]() |