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: script to kill session

RE: script to kill session

From: Oberkofler, Dieter <d.oberkofler_at_leadingbits.at>
Date: Wed, 13 Feb 2002 01:50:17 -0800
Message-ID: <F001.0040DB6A.20020213010931@fatcity.com>

if you want to do this interactively you might also want to have a look at a small shareware win32 tool called osession at http://www.materialdreams.com/oracle/products.html

D

-----Original Message-----
From: Ruth Gramolini [mailto:rgramolini_at_tax.state.vt.us] Sent: Tuesday, February 12, 2002 16:04
To: Multiple recipients of list ORACLE-L Subject: Re: script to kill session

Here is a shell script I use in UNIX, restrict_and_kill.  I included the sql command to build the sql with the kill commands, killuser_build.  It excludes users with restricted session access and puts the database into restricted session mode.  You can modify these scripts to suit your needs.

HTH,
Ruth
----- Original Message -----
To: "Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com> Sent: Monday, February 11, 2002 4:58 PM

> Hi,
>
> We are looking for a script that will grep the sid from v$session and
> kill all the sessions of a particular user. The script will prompt the
> username and kill all the related sessions.
>
> Thanks
> --Harvinder
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Harvinder Singh
>   INET: Harvinder.Singh_at_MetraTech.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 Feb 13 2002 - 03:50:17 CST

Original text of this message

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