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.

Given the option:

[ ] Detailed CPU time (System/IO-Wait/Hard-IRQ/Soft-IRQ/Steal/Guest)

In htop (Version 1.0.1) what are the meanings of the colours?

In the following image, I'm seeing rather a lot of what I expect is IO-Wait, but where does one determine the meaning of the colours.

htop screenshot demonstrating colours

Naturally this depends on the htop colour theme in use (default) and the terminal color scheme (solarized light here), but is there a reference?

Note: This normally happens to my server right before it dies, so I thought I'd ask whilst I have some time waiting for the box to recover.

share|improve this question
    
Good question, just looking at it now, and wondering WTF it is trying to tell me. –  Tim Oct 9 '12 at 17:08
add comment

1 Answer 1

up vote 10 down vote accepted

F1 or h will show you the legend.

It looks like in this color scheme:

CPU:

  • blue is for low priority threads
  • green is normal priority threads
  • black is for io-wait

see below for more.

Memory:

  • green is memory in use
  • blue is buffer
  • orange is cache

htop color legend

share|improve this answer
    
as a side note: htop also tracks your mouse in case you're F# buttons are bound –  h3rrmiller Oct 9 '12 at 17:31
    
+1 But where did you find this information? –  JMCF125 Apr 30 at 19:11
add comment

Your Answer

 
discard

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.