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: Can SvrMgrl accept command-line parameters?

Re: Can SvrMgrl accept command-line parameters?

From: Alan Formstone <aformstone_at_us.lhsgroup.com>
Date: Mon, 18 Oct 1999 17:35:16 -0400
Message-ID: <380b92bb@news.lhsgroup.com>

John Haskins <76054.334SPAMBEGONE_at_compuserve.com> wrote in message ...
>I'd like to create a shell script that, among other things, shuts down and
>then starts up database instances. No mention in the docs how to do this,
>and my experiments have proved fruitless. Is it possible, and if so,
what's
>the syntax?
>
>Thanks.
>
>

Write your shell script based around the oratab file, this contains all the instances and some simple awk will pull out the names you need.

O' Reilly has a book called Oracle scripts which is worth reading.

Alan Received on Mon Oct 18 1999 - 16:35:16 CDT

Original text of this message

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