Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: List of user sessions
Use this script:
rem Display Active User Sessions on the Data Base
rem
column username format a11
column the_command format a22
column serial# heading 'SER#'
column serial# format 999999
column process heading "Unix Process"
select username, sid, serial#, process, command || '-' || ACT.name the_command
,to_char(logon_time,'mm/dd/yy hh24:mi') "Logged On @:" from v$session SES ,audit_actions ACT where command = ACT.action
>>> oraquest_at_123india.com 04/23/01 07:45AM >>>
Hi,
i want to know that how will i get to know how many users (along with their identities) who are logged in at any one particular moment of time.
mainak
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: oraquest_at_123india.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: Tim Sawmiller INET: sawmillert_at_state.mi.us 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 Mon Apr 23 2001 - 06:56:46 CDT
![]() |
![]() |