Solved

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

Posted on 2000-05-11
4
3,534 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

756 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