HTOP Color Codes Explained

HTOP is a popular ncurses-based process viewer for Linux. You can scroll through processes horizontally as well as vertically. Killing processes is also quite handy where you do not need to enter the PID.

But have you noticed the color coded bars for CPU, Memory and Swap that comes up when you launch htop. They tell you the usage of respective resources in general but do those green/yellow/red color codes mean anything ?

HTOP System Usage
HTOP Showing CPU / Memory / Swap Usage

Those color codes on HTOP mean a lot of things. We will be discussing them here. Let’s start with CPU first.

CPU

You can see 4 different colors for CPU usage.

  • Blue, signifies low priority processes usually reniced.
  • Green shows the normal priority process.
  • Red are the kernel processes.
  • Cyan are the Virtual processes in the system.
HTOP CPU Usage
HTOP CPU Usage

Memory & Swap

  1. Green is the used memory by normal processes.
  2. Blue is the memory used by system buffers.
  3. Yellow is the memory which is used as system cache.
  4. Swap is shown using red bars in a separate row.
HTOP Memory & Swap Usage
HTOP Memory & Swap Usage

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *