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: who's connected to database

RE: who's connected to database

From: Thapliyal, Deepak <DThapliyal_at_ea.com>
Date: Mon, 18 Sep 2000 16:53:17 -0700
Message-Id: <10623.117300@fatcity.com>


yes there is ..

set lines 600
set linesize 500
set verif off
col username for a15
col osuser for a8
col terminal for a8
col program for a32
col machine for a10
col type for a4 trunc
col logon_time hea 'LOGON-START-TIME' for a20 col "DOING?" for a10
col module for a10
col sid for 999
col serial# for 999999
clear screen
select a.username, a.osuser,

        --a.terminal,
        a.machine, a.program,
       type, to_char(a.logon_time,'DD-MON-YYYY HH24:MI:SS') logon_time,
       ltrim(rtrim(substr(b.name,1,10))) "DOING?", substr(a.module,1,10)
module, a.sid, a.serial#
  from v$session a, sys.audit_actions b
 where -- a.status = 'ACTIVE' and
b.action = a.command
/
set verif on

hth

-----Original Message-----
From: Leyden, Joseph [mailto:LeydenJ_at_MTA.NET] Sent: Monday, September 18, 2000 5:00 PM To: Multiple recipients of list ORACLE-L Subject: REm: who's connected to database

is there a command to find out who are
currently connected to the database and from what workstation addr or name?

any help is much appreciated.

-- 
Author: Leyden, Joseph
  INET: LeydenJ_at_MTA.NET

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 Sep 18 2000 - 18:53:17 CDT

Original text of this message

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