Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

My server is running on debian Wheezy and htop 1.0.1 but it does not display any values on the meters bar except the 100.0% value of CPUs.

Is it possible to show always the values of a meter?

This is the current display of htop on my server: current

But I want to have the numbers always on my meters like on this screenshot from http://hisham.hm/htop/index.php?page=screenshots: expected

My htoprc is located in ~/.config/htop/htoprc and contains the following data:

# The parser is also very primitive, and not human-friendly.
fields=0 48 17 18 38 39 40 2 46 47 49 1
left_meters=LeftCPUs2 CPU Memory Swap
left_meter_modes=1 1 1 1
right_meters=RightCPUs2 Tasks LoadAverage Uptime
right_meter_modes=1 2 2 2
share|improve this question

migrated from serverfault.com Apr 29 '14 at 15:52

This question came from our site for system and network administrators.

1 Answer 1

up vote 2 down vote accepted

Well you create a htoprc file, mine is located in ~/config/htop/htoprc, I dunno how it is under Ubuntu, but that should work too.

inside you just have to put :

left_meters=AllCPUs Memory Swap 
left_meter_modes=1 1 1

That should give you the output you want.

edit :

You can also change the number of the color_scheme. Maybe the background is the same color as the numbers.

share|improve this answer
It does already contain exactly these two lines with your values. So this does not work. –  lspcity Apr 23 '14 at 15:04
Hmm actually you don't have exactly the same lines. Can you try commenting the 4 last lines and adding those 4 instead ? left_meters=AllCPUs Memory Swap left_meter_modes=1 1 1 right_meters=Tasks LoadAverage Uptime right_meter_modes=2 2 2 Also if this doesn't work, are you sure the percentage are not in the same color as your terminal background ? Because I can see the 100% on the CPU number 3. You can try changing the color_scheme line with another number maybe –  pat Apr 24 '14 at 7:24
Changing the color scheme is the answer! The numbers had the same color as the background and weren't visible therefor. Can you post this as an answer please? So I can mark this question as solved. –  lspcity Apr 26 '14 at 6:55
I've updated my initial answer –  pat Apr 27 '14 at 16:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.