Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Name of Oracle Trace

Re: Name of Oracle Trace

From: <CHUCK_HAMILTON_at_qvc.com>
Date: Tue, 16 May 2000 11:54:30 -0400
Message-Id: <10499.105750@fatcity.com>


Essentially the trace file name is ORAx.TRC where X is the process ID of the server process. (I'm not sure how it's done on MTS since server processes are shared. Maybe someone can enlighten us.) There's a slight twist on NT though. The v$process table reports the PID in hex and it needs to be converted to decimal. You'll need to write a function to do this.

On unix, use this query

SELECT
  'ora_'||to_number(p.spid,'09999')||'.trc' tracefile FROM
  v$process p ,
  v$session s
WHERE
  s.audsid = userenv('sessionid')
  and s.paddr = p.addr;
--

Chuck Hamilton
QVC Inc.
Enterprise Technical Services
Oracle DBA

                                                                                                                    
                    Place for                                                                                       
                    oracle                To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>       
                    <place4oracle@        cc:     (bcc: CHUCK HAMILTON/QVC)                                         
                    yahoo.com>            Subject:     Name of Oracle Trace                                         
                    Ext: NA                                                                                         
                    Sent by:                                                                                        
                    root_at_fatcity.c                                                                                  
                    om                                                                                              
                                                                                                                    
                                                                                                                    
                    05/16/00 06:04                                                                                  
                    AM                                                                                              
                    Please respond                                                                                  
                    to ORACLE-L                                                                                     
                                                                                                                    
                                                                                                                    




Hello,

Does someone know how to found the Oracle trace name. We have ORA00512.trc but how can I know that it is my trace.

regards
P.T and H.E



Place4oracle
http://altern.org/place4oracle/place4oracle.html

Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/
--

Author: Place for oracle
  INET: place4oracle_at_yahoo.com
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists

--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue May 16 2000 - 10:54:30 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US