Update monitor_FRA_size.sh

This commit is contained in:
Yacine31
2022-03-18 19:58:32 +01:00
parent a5943139a6
commit 1b7db8741c

View File

@@ -21,6 +21,8 @@ spool off
exit
!
exit
FRA_SIZE=$(tail -1 ${TMPDIR}/chk_${ORACLE_SID}_fra.log | awk '{print $2}')
FRA_USED=$(tail -1 ${TMPDIR}/chk_${ORACLE_SID}_fra.log | awk '{print $3}')
THRESHOLD=$(echo ${FRA_SIZE} \* 0.1 | bc | awk -F "." '{print $1}')