Technotes

Technotes for future me

Memory

Percentage of memory in use

free | grep Mem | awk '{print $3/$2 * 100.0}'

Percentage of memory that’s free

free | grep Mem | awk '{print $4/$2 * 100.0}'
Last updated on 31 Jan 2021
Published on 27 Nov 2020
Edit on GitHub