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

Home -> Community -> Mailing Lists -> Oracle-L -> How to Determine Oracle Session ID given UNIX PID?

How to Determine Oracle Session ID given UNIX PID?

From: Sam Bootsma <sbootsma_at_gbrownc.on.ca>
Date: Fri, 04 Apr 2003 15:19:24 -0800
Message-ID: <F001.0057B10F.20030404151924@fatcity.com>


Oracle 7.3.4 running on AIX 4.3.3  

The ps command on our AIX box shows a UNIX process taking 50% of the CPU. The PID is 89510. When I try to find the corresponding session on the Oracle database it returns no rows. Is there a way I can map the given PID on UNIX to a session id on Oracle? See below for the query I ran.  

SQL> l

  1 select sid from v$session

  2* where process like '%89510%'

SQL> /   no rows selected  

Thanks for your information!      

Sam

sbootsma_at_gbrownc.on.ca  

--

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

Author: Sam Bootsma
  INET: sbootsma_at_gbrownc.on.ca

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Fri Apr 04 2003 - 17:19:24 CST

Original text of this message

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