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:-

  • /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

Technorati Tags: , , , , , , , , , , , , ,

Share and Enjoy:
  • Reddit
  • BlinkList
  • del.icio.us
  • Digg
  • Fark
  • IndianPad
  • StumbleUpon
  • YahooMyWeb
Posted at July 20th, 2007 by chua

If you think this article helps you to solve your problem and clear your headache, feel free to buy me a drink :)

Related Post

6 Responses to “Linux - How to check memory usage”

  1. Ontrac Solutions Says:

    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…

  2. John Says:

    Or - check this

    http://linuxpoison.blogspot.com/2008/01/linux-commands-to-monitor-memory-usage.html

  3. Fatt Ko Says:

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

  4. James Barrett Says:

    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

  5. Rao Says:

    Good, I got what i am looking for.

  6. Uso de memoria en GNU/Linux « El Blog de rubensa Says:

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

Leave a Reply