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: Finding dedicated server processes associated with a specified us

RE: Finding dedicated server processes associated with a specified us

From: Goulet, Dick <DGoulet_at_vicr.com>
Date: Wed, 13 Aug 2003 12:14:22 -0800
Message-ID: <F001.005CA84A.20030813121422@fatcity.com>


Peter,

        Feed this the dedicated server process pid & your off.

define sid = &1
column client_info format A30 trunc
column program format A40 trunc
break on sql_address on sql_hash_value
column sql_address noprint new_value _addr column sql_hash_value noprint new_value _hash set verify off
set linesize 132
spool /ora1/pid.lis
select spid, sid, v$session.status, client_info, v$session.program, sql_address, sql_hash_value from v$session, v$process
where paddr = addr
  and spid = '&sid'
  and v$session.username is not null;

select sql_text
from v$sqltext_with_newlines
where address = '&_addr'
  and hash_value = &_hash
order by piece;
undef sid
spool off
exit

Dick Goulet
Senior Oracle DBA
Oracle Certified 8i DBA

-----Original Message-----
Sent: Wednesday, August 13, 2003 3:59 PM To: Multiple recipients of list ORACLE-L us

How do you determine which dedicated server processes are associated with a given user session?

Thanks,
Peter Schauss
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Schauss, Peter
  INET: peter.schauss_at_ngc.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).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Goulet, Dick
  INET: DGoulet_at_vicr.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 Wed Aug 13 2003 - 15:14:22 CDT

Original text of this message

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