What Do htop CPU Bar Colors Mean?

The htop command-line utility provides a real-time, interactive overview of system resources in Linux, using a vibrant, color-coded bar to display CPU usage. While it quickly shows how hard your processor is working, the different colors within that bar—specifically blue, green, red, cyan, and teal—each represent a distinct category of CPU consumption. Understanding these colors allows system administrators and power users to instantly diagnose whether performance bottlenecks are being driven by standard user applications, system kernel tasks, low-priority background processes, or hardware virtualization overhead.

The Breakdown of CPU Bar Colors

When looking at the CPU usage meters at the top of the htop screen, the total length of the bar represents the current utilization of that specific CPU core. The bar is divided into the following color-coded segments:

Interpreting the Balance

A healthy desktop or application server typically displays a dominant green bar with occasional red spikes during heavy file operations. If your CPU bar is consistently red, the system is bogged down by kernel-level tasks, which might require optimizing disk I/O or network configurations. Conversely, a high cyan bar serves as an immediate alert that your cloud provider or local hypervisor is bottlenecked, and your virtual instance is starved for processing power.