2026-03-12 20:23:15
This commit is contained in:
15
vdh/list_sessions_rac.sql
Normal file
15
vdh/list_sessions_rac.sql
Normal file
@@ -0,0 +1,15 @@
|
||||
set linesize 200
|
||||
set pagesize 999
|
||||
column sid format 9999
|
||||
column machine format a25
|
||||
column osuser format a20
|
||||
column user format a15
|
||||
column program format a35
|
||||
column service_name format a20
|
||||
|
||||
|
||||
select instance_name, sid, serial#, username, machine, osuser, program, service_name, failover_type,failover_method,failed_over
|
||||
from gv$session ses, gv$instance inst
|
||||
where ses.inst_id = inst.inst_id
|
||||
and service_name !='SYS$BACKGROUND'
|
||||
order by instance_name, sid, serial#;
|
||||
Reference in New Issue
Block a user