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@ho        To:     Multiple recipients of list ORACLE-L 
                     
                    tmail.com>            <[EMAIL PROTECTED]>                       
                     
                    Sent by:              cc:                                          
                     
                    [EMAIL PROTECTED]        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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to