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: neeta <virdi_at_interlog.com>
Date: 1997/08/09
Message-ID: <33EC716C.413A@interlog.com>#1/1

chengchisang_at_hotmail.com wrote:
>
> 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

you can use the following lines in a UNIX SCRIPT AND MAKE IT AN EXECUTALE ORACLE_SID=WHATEVER;export ORACLE_SID
svrmgrl<<EOF1
connect internal
shutdown immediate;
exit
EOF1
exit

I HOPE THIS HELPS sudershan virdi

--
Received on Sat Aug 09 1997 - 00:00:00 CDT

Original text of this message

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