Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: find the system process for an oracle session
This probably gives you more than you asked for, but it works.
select substr(s.sid,1,6) SID,
s.serial#, p.spid OSPROCESS, substr(p.program,1,25) OSPROG, substr(s.osuser,1,20) OSUSER, status,substr(s.schemaname,1,20) SCHEMANAME, substr(s.machine,1,15) MACHINE, s.terminal, s.program from v$session s, v$process p
On Friday 22 November 2002 08:53, Ruth Gramolini wrote:
> 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
-- Rodd Holman Enterprise Data Systems Engineer LodgeNet Entertainment Corporation roddholman_at_HotPOP.com -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Rodd Holman INET: roddholman_at_HotPOP.com 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 Fri Nov 22 2002 - 11:19:05 CST