Update monitor_FRA_size.sh
This commit is contained in:
@@ -13,14 +13,13 @@ 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 0 lines 150
|
||||||
set heading off 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
|
||||||
exit
|
exit
|
||||||
!
|
!
|
||||||
> ${TMPDIR}/chk_${ORACLE_SID}_fra.log
|
|
||||||
|
|
||||||
exit
|
exit
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user