$ free | sed -n 2p | awk '{print "used="$3/$2*100"%","free="$4/$2*100"%"}' used=53.9682% free=46.0318%