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 specifie

RE: Finding dedicated server processes associated with a specifie

From: Stephen Lee <Stephen.Lee_at_DTAG.Com>
Date: Wed, 13 Aug 2003 12:14:28 -0800
Message-ID: <F001.005CA84B.20030813121428@fatcity.com>

If you are on Unix here is a simple query that shows them all. Edit as needed to show a particular user. I think the user process ID is for whatever box the user is on -- not necessarily the local box.

set pagesize 1000

col username format a15
col osuser format a15

select s.username,
       s.osuser,
       s.sid,
       s.serial#,
       s.process "USER PRCS",
       p.spid "SVR PRCS"

  from v$process p,v$session s
  where p.addr = s.paddr
  and s.username <> ' '
/

--

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

Author: Stephen Lee
  INET: Stephen.Lee_at_DTAG.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:28 CDT

Original text of this message

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