free|grep Mem|awk '{print (1-($4+$5+$6+$7)/$2)*100"%"}'awk
或者grep
free|grep ^-|awk '{print $3/($3+$4)*100"%"}'