From 1b7db8741c5b51e81636a2d05632a87e30a61a0b Mon Sep 17 00:00:00 2001 From: Yacine31 Date: Fri, 18 Mar 2022 19:58:32 +0100 Subject: [PATCH] Update monitor_FRA_size.sh --- monitor_FRA_size.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/monitor_FRA_size.sh b/monitor_FRA_size.sh index c29c550..17fb024 100755 --- a/monitor_FRA_size.sh +++ b/monitor_FRA_size.sh @@ -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}')