How To Install pcp-pmda-systemd on Fedora 36

In this tutorial we learn how to install pcp-pmda-systemd in Fedora 36. 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 Fedora 36.

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 Fedora 36. 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 Fedora 36 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 Fedora 36 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 Fedora 36

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 Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/47/b21514af7efef6ec46bc35cb33ee9d14ff12eb
/usr/lib/tmpfiles.d/pcp-pmda-systemd.conf
/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).