Solved

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

Posted on 2000-05-11
4
3,380 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
oracle query help 29 77
Oracle RMAN Database Restore 5 51
'G_F01' is not a procedure or is undefined 3 12
use lov values 2 18
Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
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…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

932 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now