echo Mem Used: $(free -m | grep 'Mem:' | awk '{print $3-$6-$7}')M

存为shell放到/usr/bin/