Shell/Bash: linux memory usage Example


Shell/Bash Example: This is the "linux memory usage" Example. compiled from many sources on the internet by

linux memory usage

// linux command for reporting used memory percentage
$ free | grep Mem | awk '{print $3/$2 * 100.0}'

check ram memory usage linux

free -m

Ram usage in linux

$ cat /proc/meminfo

linux command to check memory usage in percentage

$ free -t | awk 'NR == 2 {printf("Current Memory Utilization is : %.2f%"), $3/$2*100}'
$ free -t | awk 'FNR == 2 {printf("Current Memory Utilization is : %.2f%"), $3/$2*100}'

Current Memory Utilization is : 20.42%

check vm ram details in linux

sudo dmidecode -t 17

how can I check memory usage in linux?

for more information search this webside --

* Summary: This "linux memory usage" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!