Update check_rman_backup.sh

This commit is contained in:
Yacine31
2021-11-26 09:03:41 +01:00
parent 247fd137d0
commit 22255213cc

View File

@@ -32,7 +32,7 @@ test_dba;
#---------------------------------------------------------------------------
# for r in $(ps -eaf | grep pmon | grep -v grep | cut -d '_' -f3)
for r in $(ps -eaf | grep pmon | egrep -v 'grep|ASM1|APX1' | cut -d '_' -f3)
for r in $(ps -eaf | grep pmon | egrep -v 'grep|ASM|APX' | cut -d '_' -f3)
do
# echo " Base de donnee a traiter: " $r
export ORACLE_SID=$r