select s.username,s.sid,s.osuser,p.spid
 from v$session s,v$process p
 where p.addr=s.paddr
 and s.sid=&sid

> -----Original Message-----
> From: Ruth Gramolini [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 22, 2002 9:54 AM
> To: Multiple recipients of list ORACLE-L
> Subject: find the system process for an oracle session
> 
> 
> Good morning,
> 
> Can anyone send my the sql to find the system process being used by an
> oracle session.   I know this has been out here before, but I 
> can't find it
> in my saved stuff.
> 
> Thanks in advance,
> Ruth
> 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Ruth Gramolini
>   INET: [EMAIL PROTECTED]
> 
> 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: [EMAIL PROTECTED] (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).
> 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Gogala, Mladen
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to