Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Trace SQL based on PID
On Fri, 13 Jan 2006 11:06:54 +0000, Tom wrote:
> 9.2.0.4
> Linux EL3
>
> I have some long running sql (i presume) and one of the cpu's is nearly
> 100% so knowing the pid of the process that is eating this CPU is it
> possible to trace the sql that is being run?
>
> thanks
Yes. Attach the process in oradebug and trace it. There are short instructions how to use oradebug on my website. May Larry be with you.
-- http://www.mgogala.comReceived on Fri Jan 13 2006 - 09:23:02 CST
![]() |
![]() |