Update check_rman_backup.sh
This commit is contained in:
@@ -34,7 +34,7 @@ test_dba;
|
|||||||
# for r in $(ps -eaf | grep pmon | grep -v grep | cut -d '_' -f3)
|
# 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|ASM1|APX1' | cut -d '_' -f3)
|
||||||
do
|
do
|
||||||
echo " Base de donnee a traiter: " $r
|
# echo " Base de donnee a traiter: " $r
|
||||||
export ORACLE_SID=$r
|
export ORACLE_SID=$r
|
||||||
. oraenv -s
|
. oraenv -s
|
||||||
# echo $ORACLE_SID $ORACLE_HOME
|
# echo $ORACLE_SID $ORACLE_HOME
|
||||||
|
|||||||
Reference in New Issue
Block a user