Update FRA_usage.sh

This commit is contained in:
Yacine31
2021-11-26 06:47:19 +01:00
parent 170a201884
commit 601a7b1dbd

View File

@@ -50,13 +50,15 @@ then
echo "\$ORACLE_SID not set and no INSTANCE Supplied on the command line."
exit 1
fi
test_instance || { echo "Instance ${ORACLE_SID} not started !!"; exit 1 ; }
# Set up the environment
export ORACLE_SID
export ORAENV_ASK=NO
. oraenv -s >/dev/null
test_instance || { echo "Instance ${ORACLE_SID} not started !!"; exit 1 ; }
SIZE=`${ORACLE_HOME}/bin/sqlplus -s / as sysdba <<EOF
set lines 150 feedback off pages 0