We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 00dbe27 + bf5595c commit 788e3aeCopy full SHA for 788e3ae
roles/oraswdb-install/files/manage_oracle_rdbms_procs.sh
@@ -143,7 +143,7 @@ function stop_database() {
143
ORA_STOPMODE=${3}
144
echo "########################################"
145
# check for pmon
146
- ps -C ora_pmon_${ORACLE_SID} > /dev/null 2>&1
+ ps ax | grep "[0-9] ora_pmon_${ORACLE_SID}$" > /dev/null 2>&1
147
if [ ${?} -ne 0 ] ; then
148
echo "Instance "${ORACLE_SID}" not running"
149
return
0 commit comments