From d.oberkofler@leadingbits.at Wed, 13 Feb 2002 01:50:17 -0800
From: "Oberkofler, Dieter" <d.oberkofler@leadingbits.at>
Date: Wed, 13 Feb 2002 01:50:17 -0800
Subject: RE: script to kill session
Message-ID: <F001.0040DB6A.20020213010931@fatcity.com>
MIME-Version: 1.0
Content-Type: text/plain
Title: RE: script to kill session





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@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@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@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@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).






