Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to detect which session is being trace?
"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