Benjamin Renard commited on 2021-09-16 15:35:11 Showing 1 changed files, with 1 additions and 1 deletions.
@@ -26,7 +26,7 @@ RET=0
MSG=""
MT=`free -b|grep Mem|awk '{print $2}'`
-MU=`free -b|grep Mem|awk '{print $3-$7}'`
+MU=`free -b|grep Mem|awk '{print $3}'`
if [ "$MT" == "0" -o "$MT" == "" ]
then
echo "CRITICAL - Can't read memory informations"