Update monitor_FRA_size.sh

This commit is contained in:
Yacine31
2022-03-18 20:02:28 +01:00
parent 1b7db8741c
commit 876e0f68c0

View File

@@ -14,7 +14,7 @@ export ORACLE_HOME ORACLE_SID PATH
sqlplus -s / as sysdba <<! sqlplus -s / as sysdba <<!
col name for a40 col name for a40
set pages 100 lines 150 set pages 100 lines 150
set echo off feedback off 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; 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