How To Install psi-notify on Rocky Linux 8

In this tutorial we learn how to install psi-notify on Rocky Linux 8. psi-notify is Alert when your machine is becoming over-saturated

Introduction

In this tutorial we learn how to install psi-notify on Rocky Linux 8.

What is psi-notify

psi-notify is a minimal unprivileged notifier for system-wide resource pressure using PSI. This can help you to identify misbehaving applications on your machine before they start to severely impact system responsiveness, in a way which MemAvailable or other metrics cannot.

We can use yum or dnf to install psi-notify on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install psi-notify.

Install psi-notify on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install psi-notify

Install psi-notify on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install psi-notify using yum by running the following command:

sudo yum -y install psi-notify

How To Uninstall psi-notify on Rocky Linux 8

To uninstall only the psi-notify package we can use the following command:

sudo dnf remove psi-notify

psi-notify Package Contents on Rocky Linux 8

/usr/bin/psi-notify
/usr/lib/.build-id
/usr/lib/.build-id/30
/usr/lib/.build-id/30/f96a6a97029a2951eefcfcb1bfd9e6b4f80c8d
/usr/lib/systemd/user
/usr/lib/systemd/user/psi-notify.service
/usr/share/doc/psi-notify
/usr/share/doc/psi-notify/README-epel.md
/usr/share/doc/psi-notify/README.md
/usr/share/doc/psi-notify/demo.gif
/usr/share/licenses/psi-notify
/usr/share/licenses/psi-notify/LICENSE

References

Summary

In this tutorial we learn how to install psi-notify on Rocky Linux 8 using yum and dnf.