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: Number of Active Users inside the Database

Re: Number of Active Users inside the Database

From: Joan Hsieh <joan.hsieh_at_tufts.edu>
Date: Fri, 08 Mar 2002 05:33:21 -0800
Message-ID: <F001.00423337.20020308053321@fatcity.com>


SELECT s.client_info client,s.username,s.osuser,s.PROGRAM,p.pid,p.spid, s.sid,s.serial#, to_char(S.LOGON_TIME,'MONDD HH24:MI') "LOGON TIME"  from v$session s, v$process p
where s.status='ACTIVE' and s.type != 'BACKGROUND' and p.addr=s.paddr
/

Joan

Abul Fazal wrote:
>
> Hello List,
> Just a stupid Question.
> I would like to know the Number of Active Users from a
> Query inside the Database. Plus is it possible to know
> the number of allowed licence for the Oracle
>
> Thanks for U'r Time & Interest.
>
> Fazal
>
> =====
> Abul Fazal
> Production Support Services - Quantum Leap
> Standard Charted Bank
> Singapore
> HP : 65-94887900
>
> __________________________________________________
> Do You Yahoo!?
> Try FREE Yahoo! Mail - the world's greatest free email!
> http://mail.yahoo.com/
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Abul Fazal
> INET: angmokios_at_yahoo.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: Joan Hsieh
  INET: joan.hsieh_at_tufts.edu

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 Fri Mar 08 2002 - 07:33:21 CST

Original text of this message

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