Update monitor_FRA_size.sh

This commit is contained in:
Yacine31
2022-03-18 20:06:02 +01:00
parent 61193713dd
commit ff9798067c

View File

@@ -13,14 +13,13 @@ export ORACLE_HOME ORACLE_SID PATH
sqlplus -s / as sysdba <<!
col name for a40
set pages 100 lines 150
set pages 0 lines 150
set heading off echo off feedback off
-- spool ${TMPDIR}/chk_${ORACLE_SID}_fra.log
spool ${TMPDIR}/chk_${ORACLE_SID}_fra.log
select name, space_limit/1024/1024 "Limit(MB)", trunc(SPACE_USED/1024/1024,0) "Used(MB)", SPACE_RECLAIMABLE/1024/1024 "Reclaimable(MB)" from v\$recovery_file_dest;
-- spool off
spool off
exit
!
> ${TMPDIR}/chk_${ORACLE_SID}_fra.log
exit