diff --git a/check_rman_backup.sh b/check_rman_backup.sh index 6839b0a..ff3842f 100755 --- a/check_rman_backup.sh +++ b/check_rman_backup.sh @@ -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