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: [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