if [ "$(ps -ef | grep ora_pmon | wc -l)" -gt "1" ]; then echo "An Oracle instance is already running" else echo "No running Oracle instance found" fi
Index