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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: V$session

Re: V$session

From: <Riyaj_Shamsudeen_at_i2.com>
Date: Wed, 02 May 2001 12:45:47 -0700
Message-ID: <F001.002F7739.20010502092153@fatcity.com>

Hi Seema

     v$session does not have os process id. v$process has the column spid which is the unix process id. You could join v$session and v$process using the columns paddr and addr respectively.

select sid,b.serial#,b.program,b.username from v$process a,v$session b where a.addr=b.paddr
and a.spid=&proc_id

Thanks
Riyaj "Re-yas" Shamsudeen
Certified Oracle DBA
i2 technologies www.i2.com

                                                                                       
                     
                    "Seema Singh"                                                      
                     
                    <oracledbam_at_ho        To:     Multiple recipients of list ORACLE-L 
                     
                    tmail.com>            <ORACLE-L_at_fatcity.com>                       
                     
                    Sent by:              cc:                                          
                     
                    root_at_fatcity.c        Subject:     V$session                       
                     
                    om                                                                 
                     
                                                                                       
                     
                                                                                       
                     
                    05/02/01 11:00                                                     
                     
                    AM                                                                 
                     
                    Please respond                                                     
                     
                    to ORACLE-L                                                        
                     
                                                                                       
                     
                                                                                       
                     




Hi
Which column in v$session indicate os process? Thanks
-seema



Get your FREE download of MSN Explorer at http://explorer.msn.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Seema Singh
  INET: oracledbam_at_hotmail.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: Riyaj_Shamsudeen_at_i2.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- 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 Wed May 02 2001 - 14:45:47 CDT

Original text of this message

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