How To Install tiptop on Fedora 34

tiptop is Performance monitoring tool based on hardware counters

Introduction

In this tutorial we learn how to install tiptop on Fedora 34.

What is tiptop

Hardware performance monitoring counters have recently received a lot of attention. They have been used by diverse communities to understand and improve the quality of computing systems extract application characteristics and propose new hardware mechanisms; compiler writers study how generated code behaves on particular hardware; software developers identify critical regions of their applications and evaluate design choices to select the best performing implementation. We propose that counters be used by all categories of users, in particular non-experts, and we advocate that a few simple metrics derived from these counters are relevant and useful. For example, a low IPC (number of executed instructions per cycle) indicates that the hardware is not performing at its best; a high cache miss ratio can suggest several causes, such as conflicts between processes in a multicore environment. Tiptop is a performance monitoring tool for Linux. It provides a dynamic real-time view of the tasks running in the system. Tiptop is very similar to the top utility, but most of the information displayed comes from hardware counters.

We can use yum or dnf to install tiptop on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install tiptop.

Install tiptop on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install tiptop using dnf by running the following command:

sudo dnf -y install tiptop

Install tiptop on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install tiptop using yum by running the following command:

sudo yum -y install tiptop

How To Uninstall tiptop on Fedora 34

To uninstall only the tiptop package we can use the following command:

sudo dnf remove tiptop

tiptop Package Contents on Fedora 34

/usr/bin/ptiptop
/usr/bin/tiptop
/usr/lib/.build-id
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/9e3434f5c6019b31217a9862465a0b1885b870
/usr/lib/.build-id/b4/9e3434f5c6019b31217a9862465a0b1885b870.1
/usr/share/doc/tiptop
/usr/share/doc/tiptop/AUTHORS
/usr/share/doc/tiptop/README
/usr/share/doc/tiptop/tiptoprc
/usr/share/licenses/tiptop
/usr/share/licenses/tiptop/COPYING
/usr/share/man/man1/ptiptop.1.gz
/usr/share/man/man1/tiptop.1.gz

References

Summary

In this tutorial we learn how to install tiptop on Fedora 34 using yum and dnf.