10 ‘free’ Commands to Check Memory Usage in Linux

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

16 Responses

  1. Sathish says:


    I would request you, please let us know each fields explanation of free -m output. ( Buffer/cache/shared)


    • Ravi Saive says:


      We already explained each switch used with free command in this article, I hope you gone through it each point, still I will update you that free -m is used to show the amount of memory in megabytes.

  2. Raj says:

    Thanks for sharing the commands, your site is good source of information for me…

  3. Sam says:

    I am newbie to linux. I am practising ubuntu in vmware workstation installed in PC. How do i surf internet using ubuntu while i am in vmware workstation ? Please assist.

    • Ravi Saive says:

      Under Vmware there is a Network Settings tab, adjust values there to enable internet in VMware guest OS..

  4. Sowjanya says:


  5. Sinan says:

    Thank you for the share, great read. How can I reduce the memory consumption used? I am using a virtual box with ubuntu 14.04 LTS. I have only 82M of 500M free memory left?
    I might guess it is because the low memory I have assigned to Virtual machine 512M upon initialising it.

    • Ravi Saive says:

      500MB is not enough to run Ubuntu 14.04, you need at least 1G or 2G of ram to run Ubuntu properly..or else you can stop some unwanted applications to reduce memory consumption, you need to use top command to trace the applications which are utilizing high ram usage..

  6. John Smith says:


    That’s not related to memory as df is used to report file system disk space usage, free is the memory (RAM) and swap usage.

  7. Sara Kluge says:

    I prefer the more tidy look of ‘df -hT’, added plus percentage of the used space. Btw. i enjoy your posts :-)

  8. M ALI KHAN says:

    TQ & 5* i give to you … im newbie in linux … this is my 2nd linux (ubuntu 14.04) 1st i use (fedora19) sory my english .. i read your all your post (tecmint).. & TQ again for good post.. (y)

    • Ravi Saive says:

      Thanks for such kind words, we continue to provide such usefull artilces to our newbies like you…:)

      • Gautham says:

        Happy New Year Mr.Ravi,

        Articles which is published in this website is very useful to beginners like me hats off .God Bless you

        • Ravi Saive says:

          Wishing same to you.. a Very Happy New Year ahead…….and thanks for appreciating our articles..

  9. Ramazan says:

    Thanks for sharing.
    Also in Debian, “h” parameter to human readable format (free -h).

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?