Register Login

How to Check whether the Database is Running or not from the OS level ?

Updated May 18, 2018

Hello Experts,

I have this below question which is asked in a interview

May I know how to check whether the database is running or not from the os level ?

Please share your views,

Thanks in advance.


Comments

  • 14 Mar 2016 11:06 am Guest Best Answer

    depends on the O/S you are using, Unix or Windows? I would use Korn shell script to monitor the Oracle background process and scripts to check of Oracle is accepting connections.

     

    This UNIX command will show the number of processes for your instance:

     

    ps -ef|grep

    In Windows I would look into services.msc

    • and Try command R3trans -d to check the status of Oracle and connectivity from SAP.

×