Forgot your password?    
+ Reply to Thread
Results 1 to 1 of 1

Thread: Script to get the list of sessions for a user currently in the Database

  1. #1
    Expert Oracle Administrator
    Join Date
    Oct 2011
    Location
    New Delhi, India
    Posts
    427

    Script to get the list of sessions for a user currently in the Database

    select
    sid,serial#,username,status,module,command,
    to_char(logon_time,'dd-mm-yy hh:mi:ss') "LOGON", program,last_call_et
    from
    v$session
    where
    username like '%&usr%'
    order by logon_time;

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

DBA Lounge (P) Ltd. deals in Oracle Technologies on Consulting, Resourcing, Corporate Training


Online and corporate training available on Oracle Database 11g, Oracle 11g Real Application Cluster (RAC), Oracle Applications 11i/R12, Oracle Fusion Middleware 11g, Oracle Identity Management-OIM, Oracle Internet Directory 11g-OID, Oracle Business Intelligence Enterprise Edition-OBIEE, Oracle Golden Gate, Oracle Access Management-OAM, Oracle Internet Directory-ODS, Oracle Identity Analytics Architecture-OIA Statistics