Solved

How can I know , whether oracle is running or not?

Posted on 2000-05-11
4
3,488 Views
Last Modified: 2007-10-18
Hi,
  How can I know , whether oracle is running or not?
  Since, if I want to know, whether a process is running or not, by using the command
  ps -aef | grep process_name | grep -v grep.
   In case of oracle databse, in place of "process_name", what I have to give ?  
0
Comment
Question by:bobyjose
4 Comments
 
LVL 1

Expert Comment

by:alexhudghton
ID: 2800462
ps -aef | grep ora_ | grep -v grep

will give you a list of all oracle database processes running for all instances
0
 
LVL 2

Accepted Solution

by:
banicki earned 50 total points
ID: 2800463
ps -aef | grep ora_pmon | grep -v grep
oracle consist of 5 or 6 processes which function together.
on my aix box they are:
ora_pmon
ora_smon
ora_reco
ora_ckpt
ora_lgwr
ora_arch, if you are running in archive log  mode

any one of these processes should work.

terry
0
 
LVL 1

Expert Comment

by:bellyboy
ID: 2800526

Note that if the database is hanging ... perhaps a shutdown is in progress/hanging these processes will still be there.

In scripts I always also do a check which logs on as sqlplus and select * from v$database to give the database name.


0
 
LVL 12

Expert Comment

by:geotiger
ID: 2802283
Running Oracle processes do not mean Oracle is functioning properly. Check your alert log file. Any database changes and unusual behaviers are logged in the file.  It is located in Oracle's background_dump_dest directory.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Oracle SQL 6 73
use lov values 2 61
oracle collections 2 20
pl/sql parameter is null sometimes 2 12
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to recover a database from a user managed backup

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question