Categories: TutorialsUbuntu

htop Tool in Linux

Introduction

The htop command in Linux is used to monitor the activity of critical system resources or server processes in real-time. The htop command is newer than the top command, it allows mouse manipulation, has colors in the output and provides visual instructions for processor, memory, and swap usage.

Now we’re gonna guide you about using the htop tool in Linux. Hope you understand.

Installing htop

Run apt command:

$ sudo apt install htop

Output:

The
Sponsored
syntax of htop command

The syntax:

$ htop

Output:

Press F10 to quit.

Options

1. -C: show table without color

$ htop -C

Output:

2. -t: display tree view

$ htop -t

Output:

Sponsored

3. -h: display help message

$ htop -h

Output:

4. -v: check your version

$ htop -v

Output:

5. Interactive buttons

Conclusion

And we guided you on how to use the htop tool in Linux.

Thank you for checking it out!

Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications including CCNA RS, SCP, and ACE. As an IT engineer and technical author, he writes for various websites.

Ubuntu Server Admin

Recent Posts

Building RAG with enterprise open source AI infrastructure

One of the most critical gaps in traditional Large Language Models (LLMs) is that they…

13 hours ago

Life at Canonical: Victoria Antipova’s perspective as a new joiner in Product Marketing

Canonical is continuously hiring new talent. Being a remote- first company, Canonical’s new joiners receive…

2 days ago

What is patching automation?

What is patching automation? With increasing numbers of vulnerabilities, there is a growing risk of…

3 days ago

A beginner’s tutorial for your first Machine Learning project using Charmed Kubeflow

Wouldn’t it be wonderful to wake up one day with a desire to explore AI…

4 days ago

Ubuntu brings comprehensive support to Azure Cobalt 100 VMs

Ubuntu and Ubuntu Pro supports Microsoft’s Azure Cobalt 100 Virtual Machines (VMs), powered by their…

4 days ago

Ubuntu Weekly Newsletter Issue 870

Welcome to the Ubuntu Weekly Newsletter, Issue 870 for the week of December 8 –…

4 days ago