RE: How to trace what particular session is doing?

  • From: "Senthil Kumar" <senthilkumard@xxxxxxxxxxxxxxx>
  • To: <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 3 Mar 2004 15:55:04 +0530

Hi,

take the sid,serial# of the session.

then use 

exec sys.dbms_system.set_sql_trace_in_session(sid,serial#,true); 

then analyze your user trace file.

Senthil.

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx]On Behalf Of Jay
Sent: Wednesday, March 03, 2004 8:11 AM
To: oracle-l@xxxxxxxxxxxxx
Subject: How to trace what particular session is doing?


Dear All,

I like to trace what particular session is doing at given point in time? I
know something i have to join
v$session,v$process,v$transaction and v$sql but somehow not able to get
succeed.

Does anyone have a script for the same?

Thanks
Jay

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: