Update rapport_mensuel.sh

This commit is contained in:
Yacine31
2023-11-12 05:25:50 +01:00
parent 8fd6b4bb7b
commit ad1f4786d2

View File

@@ -1,7 +1,7 @@
DATETIME=`date +%Y%m%d%H%M`
HNAME=$(hostname)
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|APX1' | cut -d '_' -f3)
do
export ORAENV_ASK=NO
export ORACLE_SID=$r