Linux - How to check memory usage
If you are running Linux on a low memory machine, then you’d probably want to know how to check memory usage. Once you check your memory usage, you will know where your memeory being used, so you can turn off those service that you do not use.
There are few ways to check memory usage in Linux. By using the command below you will be able to check your linux memory usage:-
- /proc/meminfo contain all your memory usage information:-
type: cat /proc/meminfo and you will get:-
- vmstat display memory usage in summary mode:-
type: vmstat and you will get

Click on the image to see bigger image - free command:-
type: free or free -m

Click on the image to see bigger imagefree -m is to show memory in MB

Click on the image to see bigger image
If you think this article helps you to solve your problem and clear your headache, feel free to buy me a drink :)









August 9th, 2007 at 7:11 am
Linux - How to check memory usage - Techie Corner…
If you are running Linux on
a low memory machine,
then you’d probably
want to know how to check
memory usage. Once you
check your memory usage,
you will know where your
memeory being used, so
you can turn off those
service that you do not
use. Th…
February 19th, 2008 at 8:10 pm
Or - check this
http://linuxpoison.blogspot.com/2008/01/linux-commands-to-monitor-memory-usage.html
March 17th, 2008 at 10:24 am
How to check each individual process which taking how much shared memory?
May 15th, 2008 at 7:46 am
I have one gigabyte of memory (two 512 chips). I just did free -g to display memory in gigabytes, and it comes up with total memory zero. When I do free -m is says I have total memory 1012. Very strange.
Free -V says procps version 3.2.7
May 25th, 2008 at 11:34 am
Good, I got what i am looking for.
July 2nd, 2008 at 6:28 pm
[...] vía Posted by rubensa Filed in Ubuntu [...]