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

Home -> Community -> Usenet -> c.d.o.server -> Re: How to detect which session is being trace?

Re: How to detect which session is being trace?

From: Yong Huang <yong321_at_yahoo.com>
Date: 8 Dec 2003 08:47:14 -0800
Message-ID: <b3cb12d6.0312080847.525582e5@posting.google.com>


"Ana C. Dent" <anacedent_at_hotmail.com> wrote in message news:<D%OAb.70031$kl6.6217_at_fed1read03>...
>
> At least on Solaris the filename of the trace file
> contains the Unix Process ID (PID) of the process
> that has requested the trace file to be generated.
> So with a Small Matter Of Programming, you should
> be able to determine who is the "culprit".

One caveat is that if the server process at the OS level has a pid that was used before and the previous process also generated a trace file, then the new trace will be appended to the old trace file. (This frequently happens to a machine that frequently shuts down, such as a home PC.) In this case, you still correctly identify the trace file but you need to skip the first part in it.

Yong Huang Received on Mon Dec 08 2003 - 10:47:14 CST

Original text of this message

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