Linux – How to check memory usage


linux, linux check memory usage, check memory usage, memory usageIf 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:-

Advertisements

  • /proc/meminfo contain all your memory usage information:-
    type: cat /proc/meminfo and you will get:-
    /proc/meminfo, linux check memory usage, memory usage, linux memory usage, linux free memory
  • vmstat display memory usage in summary mode:-
    type: vmstat and you will get
    vmstat, linux vmstat, linux check memory usage, memory usage, linux memory usage, linux free memory
    Click on the image to see bigger image
  • free command:-
    type: free or free -m
    linux free command, free memory, show free memory, linux show fre memory, linux check memory usage, memory usage, linux memory usage, linux free memory
    Click on the image to see bigger image

    free -m is to show memory in MB
    linux free command, free memory, show free memory, linux show fre memory, linux check memory usage, memory usage, linux memory usage, linux free memory
    Click on the image to see bigger image

[tags]memory usage, /proc/meminfo, free -m, free memory, linux /proc/meminfo, linux check memory usage, linux free command, linux free memory, linux memory usage, linux show fre memory, linux vmstat, memory usage, show free memory, vmstat[/tags]




Share this with your friends:-

8 Responses to “Linux – How to check memory usage”

  1. C says:

    James,
    I’d assume it’s because you are 12m short of 1024, which it would count as a gig.

  2. Jen says:

    Thanks for the post! I got what I needed and very helpful! 😀

  3. […] vía Posted by rubensa Filed in Ubuntu […]

  4. Rao says:

    Good, I got what i am looking for.

  5. 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

  6. Fatt Ko says:

    How to check each individual process which taking how much shared memory?

  7. 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…

Leave a Reply