RE: Oracle trace file on/off

2002-01-29 Thread Mohan, Ross
Send them doggies home, KD, it's a done deal. ;-) -Original Message- You may turn the trace on or off that way, but how do you interrogate it to find its event settings? - Kirti -Original Message- Sent: Monday, January 28, 2002 6:42 PM To: 'Deshpande, Kirti'; [EMAIL

RE: Oracle trace file on/off

2002-01-29 Thread Deshpande, Kirti
Here you go... 1) Find the OSPID for the suspected user (other than pmon, smon and their famiy) select s.username, p.spid from v$session s, v$process p where s.paddr = p.addr; 2) Use oradebug to connect to that spid (here I have 26073, and the session was tracing event 10046) SVRMGR

RE: Oracle trace file on/off

2002-01-29 Thread Mohan, Ross
Nice Sleuthing, KD. -Original Message- Here you go... snip. alter session set events '10046 trace name context off' END OF STMT PARSE #1:c=0,e=2,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=4,tim=2447763926 EXEC #1:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=2447763927 -- Oops! The the

RE: Oracle trace file on/off

2002-01-28 Thread Mohan, Ross
iteratively loop thru ORADEBUG asking sid/serial# if they have events set, as i recall. - Ross too lazy to rtfm to remember trick Mohan -Original Message- Sent: Monday, January 28, 2002 5:40 PM To: Multiple recipients of list ORACLE-L Hi all, How do I find out if someone is running

RE: Oracle trace file on/off

2002-01-28 Thread Deshpande, Kirti
From what I know, there is no way to find if a session has turned on the tracing unless it is your own session. DBMS_SYSTEM.read_ev can you tell you if the current session is tracing or not, but it can not interrogate other sessions. The only way I know is to check the trace files generated in

RE: Oracle trace file on/off

2002-01-28 Thread Mohan, Ross
ORADEBUG SETORAPID, would make current session whatever you like, no? -Original Message- From what I know, there is no way to find if a session has turned on the tracing unless it is your own session. DBMS_SYSTEM.read_ev can you tell you if the current session is tracing or not, but it

RE: Oracle trace file on/off

2002-01-28 Thread Deshpande, Kirti
You may turn the trace on or off that way, but how do you interrogate it to find its event settings? - Kirti -Original Message- Sent: Monday, January 28, 2002 6:42 PM To: 'Deshpande, Kirti'; [EMAIL PROTECTED] ORADEBUG SETORAPID, would make current session whatever you like, no?

RE: Oracle trace file on/off

2002-01-28 Thread Mohan, Ross
Dump the session events at group level #1 ( session level ) and parse the second column (Evt3). I didn't say it was elegant. :-) Use this power only for Good, not for Evil, Luke. - Old Bent Wand -Original Message- Sent: Monday, January 28, 2002 7:57 PM To: Mohan, Ross; [EMAIL

RE: Oracle trace file on/off

2002-01-28 Thread Deshpande, Kirti
Thanks you, Darth !! - Luke -Original Message- Sent: Monday, January 28, 2002 7:35 PM To: 'Deshpande, Kirti'; [EMAIL PROTECTED] Dump the session events at group level #1 ( session level ) and parse the second column (Evt3). I didn't say it was elegant. :-) Use this power

RE: Oracle trace file on/off

2002-01-28 Thread Mohan, Ross
LoL...yea, not a problem...happy event'ing to you! -Original Message- To: Mohan, Ross; [EMAIL PROTECTED] Sent: 1/28/2002 8:55 PM Thanks you, Darth !! - Luke -Original Message- Sent: Monday, January 28, 2002 7:35 PM To: 'Deshpande, Kirti'; [EMAIL PROTECTED] Dump the