How to check the running status of an Oracle database o…
In the Linux system, you can check the running status of an Oracle database by the following method:
- Check the process status of the database using the ps command.
- List all processes using the ‘oracle’ user.
- This will list all processes containing the keyword “oracle”, displaying information such as the process ID, user, and start time.
- Check the status of the database instance.
- – Accessing SQLplus as the sysdba, retrieve the STATUS column from the V$INSTANCE table.
- This will display the current status of the database instance, such as OPEN (opened), MOUNTED (mounted), or STARTED (started).
- Check the status of the listener using the lsnrctl command.
- Check the listener status.
- This will display the status of the listener, including the listening address, listening port, and the Listener’s operational status.
- Viewing the log files of the database:
- Monitor the live updates of the alert log file located in $ORACLE_HOME/admin/
/bdump/alert_ .log. - This will display real-time logs of the database, including information on the database’s startup and shutdown.
Note: In the above operation, replace