Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 09-22-2010, 04:17 PM   #1
Registered: Sep 2010
Location: Philly
Distribution: OpenSuse
Posts: 67

Rep: Reputation: 3
Htop vs 'top' vs 'free' disparity

When I run Htop on my Ubuntu 10.04 machine, the "Mem" line reads 239/992MB.

However, when I run 'top' I get:

Mem: 1016332k total, 746252k used, 270080k free, 64060k buffers
Swap: 1951736k total, 0k used, 1951736k free, 436904k cached

Also, when I run 'free', I get:
total: 1016332
used: 748520
free: 267812
shared: 0
buffers: 64168
cached: 440200
-/+ buffers/cache: used: 244152 free: 772180
Swap: total:1951736 used: 0 free: 1951736

It seems like Htop tells me I have more than 700MB free, but 'top' and 'free' tell me that I only have about 270MB free.

Can anyone explain this?

Last edited by schachwizard; 09-22-2010 at 04:21 PM. Reason: The columns of the free command didn't turn out right.
Old 09-22-2010, 04:29 PM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Old 09-22-2010, 04:33 PM   #3
Registered: Sep 2010
Location: Philly
Distribution: OpenSuse
Posts: 67

Original Poster
Rep: Reputation: 3
Thank you.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
UN reveals global disparity in broadband access Jeebizz Linux - News 0 09-02-2010 10:16 AM
Inconsistencies between top and free grob115 Linux - Newbie 12 05-16-2010 10:37 AM
Looking for direction with reagarding a top/htop like app energyAlchemist Programming 3 09-22-2009 08:39 PM
What does free memory mean in top? blittrell Linux - Newbie 3 08-05-2009 12:10 PM
LXer: Htop, a tip-top ncurses interactive tool for system monitoring your desktop LXer Syndicated Linux News 0 03-26-2009 02:21 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 08:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration