Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: file showing running instance

Re: file showing running instance

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Wed, 04 Aug 1999 17:46:18 +0800
Message-ID: <37A80BEA.1DD1@yahoo.com>


Christoph Krempe wrote:
>
> Hey,
> is there a file Oracle (7.3.3) is creating when I start up an instance? I
> would like to test if an instance is running or not inside a script, without
> using some ps-statements.
>
> Ch. Krempe
>
> -----------------------------------------------------------
> Freie Universitaet Berlin Christoph Krempe
> Universitaetsbibliothek Systemverwaltung
> - Rechenzentrum - Tel: 030/8384583
> Garystrasse 39 Fax: 030/8384582
> 14195 Berlin http://www.ub.fu-berlin.de/~ck

You could always spool your startup command to a file and check that file...

The reason people use 'ps' though is that if your instance crashes, then any file that the database created may still linger and therefore falsely lead to conclusions that the database is still up...

Go with 'ps'
--



Connor McDonald
"These views mine, no-one elses etc etc" connor_mcdonald_at_yahoo.com

"Some days you're the pigeon, and some days you're the statue." Received on Wed Aug 04 1999 - 04:46:18 CDT

Original text of this message

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