diff --git a/monitor_FRA_size.sh b/monitor_FRA_size.sh new file mode 100644 index 0000000..d7b9464 --- /dev/null +++ b/monitor_FRA_size.sh @@ -0,0 +1,32 @@ +#Set Variables +LOGDIR=/home/oracle/scripts/logs +TMPDIR=/home/oracle/scripts/logs +HOST=$(hostname | awk -F "." '{print $1}') +DT=$(date) +export LOGDIR TMPDIR + +#Set Environment for database +ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1 +ORACLE_SID=DBSE +PATH=${ORACLE_HOME}/bin:${PATH} +export ORACLE_HOME ORACLE_SID PATH + +sqlplus -s / as sysdba <