Monitor and Manage Resources with htop

Learn how to monitor and manage resources with htop.

We'll cover the following

Setting up htop

The top command gives us a basic overview of our system, but it’s limited to just displaying data. The htop program lets us see more detailed information, filter the process list, and even stop processes that may have gotten out of control.

Let’s install htop on Ubuntu with apt:

sudo apt install htop

And on macOS, we install it with brew:

brew install htop

Then, we launch htop by running the terminal below:

htop

Get hands-on with 1400+ tech skills courses.