Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Find thread that opened a session in AIX

LefterisSep 3 2012 — edited Sep 6 2012
Hello.
As stated in "Determining which Oracle database session is being used by a specific Siebel user session [ID 863771.1]":
On the Oracle database side, you can query the V$SESSION table (make sure you are logged in as the tableowner) using the following WHERE clause format:

WHERE PROCESS='XXXX:YYYY'

XXXX = Server PID
YYYY = Thread ID

So querying v$session, sessions opened by windows clients have in the PROCESS column values like "12345:876", where 12345=process id and 876=thread id.

Our application servers are installed in AIX, which is also multithreaded, but in the PROCESS column only process id is stored.
Is there any way to find thread id?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 4 2012
Added on Sep 3 2012
17 comments
2,900 views