Solved

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

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

Join & Write a Comment

Suggested Solutions

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…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
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 videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

759 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

20 Experts available now in Live!

Get 1:1 Help Now