How To Install latencytop.x86_64 on Amazon Linux 2

In this tutorial we learn how to install latencytop.x86_64 in Amazon Linux 2. latencytop.x86_64 is System latency monitor (with GUI)

Introduction

In this tutorial we learn how to install latencytop.x86_64 on Amazon Linux 2.

What is latencytop.x86_64

LatencyTOP is a tool for software developers (both kernel and userspace), aimed at identifying where in the system latency is happening, and what kind of operation/action is causing the latency to happen so that the code can be changed to avoid the worst latency hiccups. This package contains a build of LatencyTOP with GUI interface. For a build without GUI install latencytop-tui instead.

We can use yum to install latencytop.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install latencytop.x86_64.

Install latencytop.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install latencytop.x86_64 using yum by running the following command:

sudo yum -y install latencytop.x86_64

How To Uninstall latencytop.x86_64 on Amazon Linux 2

To uninstall only the latencytop.x86_64 package we can use the following command:

sudo yum remove latencytop.x86_64

latencytop.x86_64 Package Contents on Amazon Linux 2

/usr/sbin/latencytop

References

Summary

In this tutorial we learn how to install latencytop.x86_64 on Amazon Linux 2 using yum.