What do the yellow color of CPU mean in htop?

9

1

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

IvanTrofimov

Posted 2016-04-07T10:22:42.167

Reputation: 173

Question was closed 2017-10-30T13:25:46.510

ServerFault dupe: What exactly do the colors in htop status bars mean?

– DavidPostill – 2016-04-07T10:30:49.323

This depends on the htop colour theme in use (default) and the terminal color scheme. – DavidPostill – 2016-04-07T10:34:14.653

1In 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 – 2017-11-19T03:55:40.620

1How can we remove the "dupe" flag? That other question doesn't mention yellow cpu. – falsePockets – 2018-12-14T07:11:19.597

Answers

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.

KJ4IPS

Posted 2016-04-07T10:22:42.167

Reputation: 801

Yes, my VPS provider had bad SSD or something else. I've changed him. Yellow meant io-wait, you are correct. – IvanTrofimov – 2019-09-04T15:10:27.287

8

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

IvanTrofimov

Posted 2016-04-07T10:22:42.167

Reputation: 173

2That'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 – 2016-04-11T04:31:53.933