Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> SQL_Trace File Names Under AIX
Does anyone know how to determine what the trace file will be named when
SQL_Trace is enabled? For example, if I turn on SQL_Trace with:
ALTER SESSIONS SET SQL_TRACE = TRUE; how can I determine programmatically what the name of the trace file will be? Trace file names generally take the form ORAnnnnn.trc, where nnnnn is some decimal integer.
Under HPUX, I had found that it could be determined from the SPID column of the V$Process view. Under AIX (and MS-Windows) this does not seem to be the algorithm.
Is there some way to determine this without guessing from file timestamps?
Thanks
Jerry
Received on Sun Dec 06 1998 - 17:26:57 CST