Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: file showing running instance
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'
--
"Some days you're the pigeon, and some days you're the statue." Received on Wed Aug 04 1999 - 04:46:18 CDT