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