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
order by username;
>>> [EMAIL PROTECTED] 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
______________________________________________________
123India.com - India's Premier Portal
Get your Free Email Account at http://www.123india.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: [EMAIL PROTECTED]
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: [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).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Tim Sawmiller
INET: [EMAIL PROTECTED]
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: [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).