Check Free Memory in Linux

Run free -m (the -m means display the amount of memory in megabytes.)

$ free -m
             total       used       free     shared    buffers     cached
Mem:           495        482         13          0         26        362
-/+ buffers/cache:         92        402
Swap:          508          0        508

The ‘actual’ free memory is at the second line, 402 MB .To understand more about the memory in Linux, the website Linux ate my ram explains in humorous way.

comments powered by Disqus