How To Install latencytop-common.x86_64 on Amazon Linux 2

In this tutorial we learn how to install latencytop-common.x86_64 in Amazon Linux 2. latencytop-common.x86_64 is System latency monitor (shared files for both GUI and TUI builds)

Introduction

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

What is latencytop-common.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 files needed by both the GUI and TUI builds of LatencyTOP.

We can use yum to install latencytop-common.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-common.x86_64.

Install latencytop-common.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-common.x86_64 using yum by running the following command:

sudo yum -y install latencytop-common.x86_64

How To Uninstall latencytop-common.x86_64 on Amazon Linux 2

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

sudo yum remove latencytop-common.x86_64

latencytop-common.x86_64 Package Contents on Amazon Linux 2

/usr/share/latencytop
/usr/share/latencytop/global.png
/usr/share/latencytop/kernel_thread.png
/usr/share/latencytop/latencytop.trans
/usr/share/latencytop/user_process.png
/usr/share/man/man8/latencytop-tui.8.gz
/usr/share/man/man8/latencytop.8.gz

References

Summary

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