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: 10g Trace files to ?/rdbms/log

Re: 10g Trace files to ?/rdbms/log

From: Boris Dali <boris_dali_at_yahoo.ca>
Date: Tue, 10 Feb 2004 09:38:03 -0500 (EST)
Message-ID: <20040210143803.35307.qmail@web41409.mail.yahoo.com>


Kirti,

Seems to work ok on Solaris:

SQL> select * from v$version;

BANNER
-------------------------------------------------------Oracle
Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bi
PL/SQL Release 10.1.0.2.0 - Production
CORE 10.1.0.2.0 Production
TNS for Solaris: Version 10.1.0.2.0 - Production NLSRTL Version 10.1.0.2.0 - Production

SQL> sho parameter user_dump

NAME                                 TYPE        VALUE

------------------------------------ -----------
------------------------------
user_dump_dest string
/u01/app/oracle/admin/db10g1/
                                                 udump
SQL> -- for non-sys account
SQL> select spid from v$process where addr = (select paddr from v$session where
audsid=sys_context('userenv','sessionid'));

SPID



2306

SQL> alter session set sql_trace=true;

Session altered.

SQL> select * from dual;

D
-

X

SQL> !ls -lat /u01/app/oracle/admin/db10g1/udump/ | grep 2306

-rw-r----- 1 ora10g1 dba 1392 Feb 10 09:21
db10g1_ora_2306.trc

Thanks,
Boris.


Post your free ad now! http://personals.yahoo.ca

Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
Received on Tue Feb 10 2004 - 08:38:03 CST

Original text of this message

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