if you have job process this query would show you which are they
it's sanjay's query modifiedCode:select p.spid thread, s.username, case when p.background is null and s.program is null then bg.description when p.background is null then s.program when p.background = 1 then bg.description end program, ss.value/100 CPU,physical_reads disk_io from v$process p, v$session s, v$sesstat ss, v$sess_io si, v$bgprocess bg where s.paddr=p.addr and ss.sid=s.sid and ss.statistic#=12 and si.sid=s.sid and bg.paddr(+)=p.addr order by ss.value desc




Reply With Quote