Tuesday, September 17, 2013

Sessions Currently on Database

----------------------------------
-Sessions Currently Running
-File Name : sess.sql
-Usage : @sess
-----------------------------------

set line 200
col program for a20
col MODULE for a16
col action for a30
col 'Time Hrs' for 999999.99
col user@machine  for a30
col (SID,SERIAL#)  for a13
set line 150

select sid||','||serial# "(SID,SERIAL#)",status,last_call_et/3600 "Time Hrs",username||'@'||machine as "user@machine",program,module,action,type 
from gv$session
/

No comments:

Post a Comment

NLS boot file not found or invalid opmnctl ping – EBS 12.2 ADCFGCLONE FAIL

Error: adcfgclone.pl failed while performing clone of EBS 12.2 instance. This occurred while ohsT2PApply is in progress. INST_TOP/adm...