2026-03-12 20:23:15

This commit is contained in:
root
2026-03-12 21:23:47 +01:00
parent eab4b36eca
commit 93039b8489
3332 changed files with 699614 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
set linesize 120
column username format a30
column logon format a20
column idle format a15
column program format a30
column status format a1 trunc
select *
from ( select A.sid, consistent_gets, B.username, B.logon_time, B.program, B.status,
floor(last_call_et/3600)||':'|| floor(mod(last_call_et,3600)/60)||':'|| mod(mod(last_call_et,3600),60) idle
from v$sess_io A, v$session B
where A.sid= B.sid
and program not like 'oracle@v880%'
order by consistent_gets desc
)
where rownum <= 20
order by consistent_gets desc;