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

Home -> Community -> Usenet -> c.d.o.server -> Re: kill off oracle sessions

Re: kill off oracle sessions

From: Mich <Mich_at_tomcat.ru>
Date: Mon, 31 May 1999 10:08:20 +0300
Message-ID: <7it957$92$1@news.wplus.spb.ru>

Ed Lufker пишет в сообщении <7imh70$3j6$1_at_sloth.swcp.com> ...
>Hi All:
>
>
> How would I kill off Oracle sessions from a unix script.

You can obtain UNIX PID of session by

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

And then, kill this process.

>
>
>
>thanks
>eddie lufker
>
Received on Mon May 31 1999 - 02:08:20 CDT

Original text of this message

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