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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Determining Oracle Session from PID

Re: Determining Oracle Session from PID

From: Dmitriy B. Agafonov <dagafono_at_rgti.com>
Date: 1997/10/10
Message-ID: <343EAA88.E54EBAD1@rgti.com>#1/1

Try this:
select s.sid from v$session s, v$process p where s.paddr = p.addr and p.spid = '<UNIX PID>';

Regards,

    Dmitriy Agafonov

> Is there a way to
> determine what the Oracle session is from the process id or in some
> other
> manner so that we can release the lock automatically ???
>
> Thanks,
> Dave
> dwinslow_at_maroon.tc.umn.edu
>
Received on Fri Oct 10 1997 - 00:00:00 CDT

Original text of this message

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