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: Connected users ??

Re: Connected users ??

From: Bambang Setiawan <Bambang.Setiawan_at_Sidola.com>
Date: Wed, 07 Mar 2001 02:25:42 -0800
Message-ID: <F001.002C5961.20010307013020@fatcity.com>

this script may help you :



rem this script used to observe connected users
select  S.SID

,S.username
,S.OSuser
,initcap(S.status) Status
,S.terminal
,decode(S.lockwait,NULL,'No','Yes') Lockwait
,initcap(A.Name) Command
,S.process
,P.SPID "NT_ID"
from v$SESSION S
,v$PROCESS P
,sys.AUDIT_ACTIONS A
where S.username is not null

and A.action = S.command
and P.ADDR = S.PADDR

<> Bambang Setiawan <>

>>> <sinardyxing_at_bcsis.com> 03/07/01 11:40 >>> Hi guys,

It is possible to list all user that currently connected to my Oracle8i ? and what is the command or script or source of information ?

Thank you,

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com 
-- 
Author: 
  INET: sinardyxing_at_bcsis.com 

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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.com
--
Author: Bambang Setiawan
  INET: Bambang.Setiawan_at_Sidola.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Mar 07 2001 - 04:25:42 CST

Original text of this message

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