Shell/Bash: check ram on linux Example

By

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

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}'
or
$ 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 --
https://www.howtogeek.com/659529/how-to-check-memory-usage-from-the-linux-terminal/


* 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!

Others