2026-03-12 20:23:15
This commit is contained in:
7
vdh/sessinfo_by_process_id.sql
Normal file
7
vdh/sessinfo_by_process_id.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
select B.sid, B.serial#, C.spid, B.username, B.program, B.osuser, B.machine, A.value
|
||||
from v$sesstat A, v$session B, v$process C, v$statname D
|
||||
where A.sid = B.sid
|
||||
and B.paddr = C.addr
|
||||
and C.spid = '&processid'
|
||||
and A.statistic# = D.statistic#
|
||||
and D.name = 'CPU used by this session';
|
||||
Reference in New Issue
Block a user