Shell/Bash: check ram on linux Example


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

linux ram size

$ cat /proc/meminfo

how to get ram detail in linux

sudo dmidecode --type 17

check ram on linux

free -m

check total ram used linux

free -h

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%

how can I check ram usage in mb in linux?

for more information search this webside --

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