10 ‘free’ Commands to Check Memory Usage in Linux

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

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. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  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...

20 Responses

  1. Karth says:

    Nice and neat info. I believe you meant all the mentioned kb, mb, gb are actually kibi, mebi and gibi rather than kilo, mega and giga.

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

  3. Raj says:

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

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

  5. Sowjanya says:


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

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

  8. Sara Kluge says:

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

  9. 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)

  10. 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 *

This site uses Akismet to reduce spam. Learn how your comment data is processed.