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