How To Install pcp-pmda-gfs2 on Fedora 36

In this tutorial we learn how to install pcp-pmda-gfs2 in Fedora 36. pcp-pmda-gfs2 is Performance Co-Pilot (PCP) metrics for the GFS2 filesystem

Introduction

In this tutorial we learn how to install pcp-pmda-gfs2 on Fedora 36.

What is pcp-pmda-gfs2

This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the Global Filesystem v2.

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

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

sudo dnf -y install pcp-pmda-gfs2

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

sudo yum -y install pcp-pmda-gfs2

How To Uninstall pcp-pmda-gfs2 on Fedora 36

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

sudo dnf remove pcp-pmda-gfs2

pcp-pmda-gfs2 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/78d6e07dcd070fbe8d2f17fca636354f453321
/usr/lib/tmpfiles.d/pcp-pmda-gfs2.conf
/usr/libexec/pcp/pmdas/gfs2
/usr/libexec/pcp/pmdas/gfs2/Install
/usr/libexec/pcp/pmdas/gfs2/Remove
/usr/libexec/pcp/pmdas/gfs2/domain.h
/usr/libexec/pcp/pmdas/gfs2/help
/usr/libexec/pcp/pmdas/gfs2/pmdagfs2
/usr/libexec/pcp/pmdas/gfs2/pmns
/usr/libexec/pcp/pmdas/gfs2/root
/var/lib/pcp/pmdas/gfs2
/var/lib/pcp/pmdas/gfs2/Install
/var/lib/pcp/pmdas/gfs2/Remove
/var/lib/pcp/pmdas/gfs2/domain.h
/var/lib/pcp/pmdas/gfs2/help
/var/lib/pcp/pmdas/gfs2/pmdagfs2
/var/lib/pcp/pmdas/gfs2/pmns
/var/lib/pcp/pmdas/gfs2/root

References

Summary

In this tutorial we learn how to install pcp-pmda-gfs2 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).