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: svrmgrl command line?

Re: svrmgrl command line?

From: Roy Klassen <rklassen_at_pei.sympatico.ca>
Date: 1997/08/12
Message-ID: <01bca6b9$7c63b100$7a1e22cf@fred.sympatico.ca>#1/1

I found this solution in the Oracle books.

You can create a script like the following:

       connect internal
       shutdown immediate
       exit;

Save this file shutdown.sql

Call it like this in your unix or whatever script.

        svrmgrl command=@shutdown.sql

chengchisang_at_hotmail.com wrote in article <871251285.14959_at_dejanews.com>...
> Hello,
>
> I need to shutdown the database through running a script. I realize that
> svrmgrl is an interactive tool. Is there a way I can shut it down from a
> script (sh or perl)? The Server Manager Reference is not included in my
> installation. Thanks for your help!
>
>
> Regards,
> Griffin.
>
> -------------------==== Posted via Deja News ====-----------------------
> http://www.dejanews.com/ Search, Read, Post to Usenet
>
Received on Tue Aug 12 1997 - 00:00:00 CDT

Original text of this message

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