How To Install pcp-pmda-systemd on Rocky Linux 8

In this tutorial we learn how to install pcp-pmda-systemd on Rocky Linux 8. pcp-pmda-systemd is Performance Co-Pilot (PCP) metrics from the Systemd journal

Introduction

In this tutorial we learn how to install pcp-pmda-systemd on Rocky Linux 8.

What is pcp-pmda-systemd

This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics from the Systemd journal.

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

Install pcp-pmda-systemd 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 pcp-pmda-systemd using dnf by running the following command:

sudo dnf -y install pcp-pmda-systemd

Install pcp-pmda-systemd 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 pcp-pmda-systemd using yum by running the following command:

sudo yum -y install pcp-pmda-systemd

How To Uninstall pcp-pmda-systemd on Rocky Linux 8

To uninstall only the pcp-pmda-systemd package we can use the following command:

sudo dnf remove pcp-pmda-systemd

pcp-pmda-systemd Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/fe/0880baca308caa4a9b90dfb930f79bfdcb8e0d
/usr/libexec/pcp/pmdas/systemd
/usr/libexec/pcp/pmdas/systemd/Install
/usr/libexec/pcp/pmdas/systemd/README
/usr/libexec/pcp/pmdas/systemd/Remove
/usr/libexec/pcp/pmdas/systemd/domain.h
/usr/libexec/pcp/pmdas/systemd/help
/usr/libexec/pcp/pmdas/systemd/pmdasystemd
/usr/libexec/pcp/pmdas/systemd/pmns
/usr/libexec/pcp/pmdas/systemd/root
/var/lib/pcp/pmdas/systemd
/var/lib/pcp/pmdas/systemd/Install
/var/lib/pcp/pmdas/systemd/README
/var/lib/pcp/pmdas/systemd/Remove
/var/lib/pcp/pmdas/systemd/domain.h
/var/lib/pcp/pmdas/systemd/help
/var/lib/pcp/pmdas/systemd/pmdasystemd
/var/lib/pcp/pmdas/systemd/pmns
/var/lib/pcp/pmdas/systemd/root

References

Summary

In this tutorial we learn how to install pcp-pmda-systemd on Rocky Linux 8 using yum and dnf.