Results 1 to 3 of 3

Thread: Conky/htop dont give same info as top

Hybrid View

  1. #1
    Join Date
    Jul 2008
    Beans
    12

    Conky/htop dont give same info as top

    I've been using conky for a while now, but recently I noticed that some things didn't look right. The thing that tipped me of was the number of running processes it showed.

    Right now conky shows 201, htop shows 171, and top shows 112. All I Have running is Firefox, 2 terminals, and conky. Also for CPU usuage, htop says 7.9% and htop shows 3.7%. Conky has RAM at 310MB, hop also shows 310, but top says 806.

    Any ideas as to why none of the tool are showing the same info? I'm running an Athalon XP3000 w/ 1GB RAM and Mint 5.0/Hardy.

  2. #2
    Bruce M. is offline Chocolate Ubuntu Mocha Blend
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Conky/htop dont give same info as top

    Quote Originally Posted by m0ntels View Post
    I've been using conky for a while now, but recently I noticed that some things didn't look right. The thing that tipped me of was the number of running processes it showed.

    Right now conky shows 201, htop shows 171, and top shows 112. All I Have running is Firefox, 2 terminals, and conky. Also for CPU usuage, htop says 7.9% and htop shows 3.7%. Conky has RAM at 310MB, hop also shows 310, but top says 806.

    Any ideas as to why none of the tool are showing the same info? I'm running an Athalon XP3000 w/ 1GB RAM and Mint 5.0/Hardy.
    WoW! That doesn't look good, but without seeing your conky code it's difficult to tell.

    Repost your question in: Post your .conkyrc files w/ screenshots. It's turned out to be one of the biggest conky help threads here. Also show your code when there so people can see it, a screenshot would be nice too.

    Have a nice day.
    Bruce

  3. #3
    Join Date
    Jan 2007
    Location
    $here ? $here : $there
    Beans
    3,717
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Conky/htop dont give same info as top

    There is no definitive way to report those two values so it's not surprising that they differ between programs. For example, in the case of memory, top is reporting the cache as used memory (which, technically it is but, not really) whereas other programs may not. My guess is that if you typed "free -m" you'd see the 310M number and the 806M in the output. With regards to the process count, do you count kernel spawned "processes" or not? top does whereas htop doesn't. These are differences you are seeing.
    Don't try to make something "fast" until you are able to quantify "slow".

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •