How to find actual free RAM available in your Linux system?

1. To get the details of total ram, ram usage, free available ram.

free -m

 

2. The command for the percentage of memory in use

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

 

3. The command for the percentage of memory that’s free

free | grep Mem | awk ‘{print $4/$2 * 100.0}’

 

Was this answer helpful? 0 Users Found This Useful (0 Votes)