81

htop screenshot

For the CPU cores, I think that blue means nice, green normal CPU use and red I/O. But I'm not sure and I haven't found a definite answer.

Then there are the colors for memory. What do green, blue and yellow mean there?

2
  • 4
    I lack the reputation credits to flag this as duplicate, but see the answer at serverfault.com/questions/180711/…, which is a copy of your question and has been answered.
    – Caleb Xu
    Jan 8, 2014 at 4:04
  • 2
    @CalebXu You cannot flag it as a duplicate of a question on another site, but you can post an actual answer here, linking to it.
    – slhck
    Jan 8, 2014 at 8:08

2 Answers 2

103

Press h inside htop for quick help.

CPU

Blue      : Low-priority threads
Green     : Normal priority threads
Red       : Kernel threads
Turquoise : Virtualization threads

Memory

Green         : Used memory
Blue          : Buffers
Yellow/Orange : Cache
3
  • 14
  • Why is the kernel CPU on the right? Wouldn't it make sense to put it on the left? Feb 5, 2018 at 19:45
  • @AaronFranke, because your processes are expected to primarily use User CPU. Kernel CPU is when your process calls a kernel function which should use a lot less time in %. Oct 28, 2019 at 0:40
51

Also, in the list of processes, there are some that appear in Green. The black ones are main processes and the Green ones are threads. In my example below, I'm running a repair on a Cassandra node and as we can see most entries are threads.

enter image description here

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .