Update rapport_mensuel.sh
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
DATETIME=`date +%Y%m%d%H%M`
|
DATETIME=`date +%Y%m%d%H%M`
|
||||||
HNAME=$(hostname)
|
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
|
do
|
||||||
export ORAENV_ASK=NO
|
export ORAENV_ASK=NO
|
||||||
export ORACLE_SID=$r
|
export ORACLE_SID=$r
|
||||||
|
|||||||
Reference in New Issue
Block a user