echo "####################################memorycheck#######################################"
memory=`free -m | grep Mem`
read total used buffers cached<<< `echo "$memory" |awk '{print $2,$3,$6,$7}'`
echo "$total $used $buffers $cached"
let "usedtrue=used-buffers-cached"
percent=`echo "$usedtrue*100/$total"|bc`"%"
echo "## MEMORY Used Percent: $percent"