Update show_alert.sh

This commit is contained in:
Yacine31
2021-11-26 02:50:31 +01:00
parent cb03e4a374
commit 1724d9f419

View File

@@ -28,7 +28,6 @@ EOF
#--------------- Vérifier si l'instance est en cours d'exécution
test_instance()
{
# ps -ef | grep pmon_${ORACLE_SID}\$ | grep -v grep | grep -- ${ORACLE_SID} >/dev/null
if [ $(ps -ef | grep pmon_${ORACLE_SID}\$ | grep -v grep | wc -l) -eq 1 ]; then
return 0
else