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

In this tutorial we learn how to install pcp-pmda-gfs2 on Rocky Linux 8. 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 Rocky Linux 8.

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 Rocky Linux 8. 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 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-gfs2 using dnf by running the following command:

sudo dnf -y install pcp-pmda-gfs2

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

sudo yum -y install pcp-pmda-gfs2

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

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 Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/19/6fac8b5035738c8912591e8d20f8d40fabf469
/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 Rocky Linux 8 using yum and dnf.