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

In this tutorial we learn how to install pcp-pmda-mounts on Rocky Linux 8. pcp-pmda-mounts is Performance Co-Pilot (PCP) metrics for filesystem mounts

Introduction

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

What is pcp-pmda-mounts

This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about filesystem mounts.

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

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

sudo dnf -y install pcp-pmda-mounts

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

sudo yum -y install pcp-pmda-mounts

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

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

sudo dnf remove pcp-pmda-mounts

pcp-pmda-mounts Package Contents on Rocky Linux 8

/etc/pcp/mounts
/etc/pcp/mounts/mounts.conf
/usr/lib/.build-id
/usr/lib/.build-id/bb/666bb21e7cf161d8be9de24f084306ad010867
/usr/libexec/pcp/pmdas/mounts
/usr/libexec/pcp/pmdas/mounts/Install
/usr/libexec/pcp/pmdas/mounts/README
/usr/libexec/pcp/pmdas/mounts/Remove
/usr/libexec/pcp/pmdas/mounts/domain.h
/usr/libexec/pcp/pmdas/mounts/help
/usr/libexec/pcp/pmdas/mounts/pmdamounts
/usr/libexec/pcp/pmdas/mounts/pmns
/usr/libexec/pcp/pmdas/mounts/root
/var/lib/pcp/pmdas/mounts
/var/lib/pcp/pmdas/mounts/Install
/var/lib/pcp/pmdas/mounts/README
/var/lib/pcp/pmdas/mounts/Remove
/var/lib/pcp/pmdas/mounts/domain.h
/var/lib/pcp/pmdas/mounts/help
/var/lib/pcp/pmdas/mounts/mounts.conf
/var/lib/pcp/pmdas/mounts/pmdamounts
/var/lib/pcp/pmdas/mounts/pmns
/var/lib/pcp/pmdas/mounts/root

References

Summary

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