7

This question already has an answer here:

if press h inside htop for quick help:

CPU

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

but yellow?

IMAGE: See htop result

marked as duplicate by karel, Pimp Juice IT, music2myear, Mike Fitzpatrick, dirkt Oct 30 '17 at 13:25

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • ServerFault dupe: What exactly do the colors in htop status bars mean? – DavidPostill Apr 7 '16 at 10:30
  • This depends on the htop colour theme in use (default) and the terminal color scheme. – DavidPostill Apr 7 '16 at 10:34
  • 1
    In fairness the 'dupe' doesn't have any top level answer that addresses the 'yellow' for CPU issue. You have to dig into the comments to get the answer below. – russellpierce Nov 19 '17 at 3:55
  • How can we remove the "dupe" flag? That other question doesn't mention yellow cpu. – falsePockets Dec 14 '18 at 7:11
8

In my case, yellow means that the CPU time is spent on virtualization (for VDS) and CPU is lost. Contact your hosting provider.

  • 2
    That's called "steal" time. It's CPU time that is unavailable to your instance due to other people making heavy use of the CPU on the same physical machine. Upon request, a decent VPS provider may move your instance to a host with less CPU contention; I know mine (Linode) would. – bwDraco Apr 11 '16 at 4:31
1

Making an educated guess: you've got htop's detailed CPU time display on. Under the Black Night colorscheme, yellow is io-wait. Which makes sense for a database server.

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