Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to find events that are currently set in an instance
This script looks like one Steve Adams published on his web site years ago. It is for finding trace events set in the current SESSION not for the instance.
You use oradebug to dump the events set at the system level or in a specific session.
HTH -- Mark D Powell --
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Mindaugas Navickas
Sent: Friday, June 09, 2006 12:32 PM
To: Amir.Hameed_at_xerox.com; oracle-l_at_freelists.org
Subject: Re: How to find events that are currently set in an instance
Hi Amir,
This is the way to find it.
SET SERVEROUTPUT ON
DECLARE
l_level NUMBER;
BEGIN
FOR l_event IN 10000..10999 LOOP
dbms_system.read_ev (l_event,l_level); IF (l_level > 0) THEN
dbms_output.put_line ('Event '||TO_CHAR (l_event) || ' is set at level '||TO_CHAR (l_level));END IF;
Regards
Mindaugas Navickas
PS I am not author of this script and I do not know whom to credit for it.
> Hi Folks,
> Is there a way to find out all the events that are currently set in an
> instance?
>
> Thanks
> Amir
>
> --
> http://www.freelists.org/webpage/oracle-l
>
>
>
-- http://www.freelists.org/webpage/oracle-l -- http://www.freelists.org/webpage/oracle-lReceived on Fri Jun 09 2006 - 12:07:17 CDT
![]() |
![]() |