Check Oracle Running Status on Linux
In Linux systems, you can use the following command to check if Oracle is running:
- Check if the database instance process is running by using the command ps -ef | grep pmon. If you see a process like ora_pmon_ORCL, then the Oracle instance has been started.
- Check the status of the listener by using the command lsnrctl status. If the listener is running, it means Oracle has been started.
- Connect to the Oracle instance using the command sqlplus / as sysdba, and execute the following command to check the status of the instance.
- You can choose the status from v$instance.
- If the status is “OPEN”, it means the Oracle instance has been started.
These commands can be executed in the terminal of a Linux system.