10

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

  • 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
  • 1
    How can we remove the "dupe" flag? That other question doesn't mention yellow cpu. – falsePockets Dec 14 '18 at 7:11
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.

| improve this answer | |
  • Yes, my VPS provider had bad SSD or something else. I've changed him. Yellow meant io-wait, you are correct. – IvanTrofimov Sep 4 '19 at 15:10
8

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

| improve this answer | |
  • 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

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