Installing and Using htop

30 minutes
  • 2 Learning Objectives

About this Hands-on Lab

In this lab, we’ll install `htop`, a resource utilization utility, and use it to look at system resource utilization. We’ll also use it to identify an active process and kill that process.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Install `htop`.
  1. To install htop, run the following command:

    sudo apt-get install -y htop
Kill the Xtightvnc process through `htop`.
  1. Start htop:

    sudo htop
  2. To kill the Xtightvnc process, scroll the highlighted row to the Xtightvnc service and press F9, then ENTER to send the kill command.

  3. Once the process is killed, it will disappear from the htop interface.

Additional Resources

There have been reports of one of the application servers running slow. One of the users reports that it's the Xtightvnc service causing the slowness. You have been tasked with logging in to the server to investigate. Your supervisor recommends you install htop and use that to view system resource utilization, and then kill the Xtightvnc process from within htop.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!