Could you help me to modify the following one-liner to get more precise memory usage - right now it's just an integer I would like to include first value after coma.
free -m | awk '/Mem:/ {tot = $2;} /cache:/{printf "%d\n", $3 / tot * 100}'
Thank you