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

In this tutorial we learn how to install pcp-pmda-dm on Rocky Linux 8. pcp-pmda-dm is Performance Co-Pilot (PCP) metrics for the Device Mapper Cache and Thin Client

Introduction

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

What is pcp-pmda-dm

This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the Device Mapper Cache and Thin Client.

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

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

sudo dnf -y install pcp-pmda-dm

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

sudo yum -y install pcp-pmda-dm

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

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

sudo dnf remove pcp-pmda-dm

pcp-pmda-dm Package Contents on Rocky Linux 8

/etc/pcp/pmieconf/dm
/etc/pcp/pmieconf/dm/data_high_util
/etc/pcp/pmieconf/dm/metadata_high_util
/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/310afb1a1c07b4b255b9a01f8744aa40bc4ce5
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/2ab6c1d7967f2e052e317c80d9c3969ac30ea7
/usr/libexec/pcp/pmdas/dm
/usr/libexec/pcp/pmdas/dm/Install
/usr/libexec/pcp/pmdas/dm/Remove
/usr/libexec/pcp/pmdas/dm/Upgrade
/usr/libexec/pcp/pmdas/dm/domain.h
/usr/libexec/pcp/pmdas/dm/help
/usr/libexec/pcp/pmdas/dm/pmda_dm.so
/usr/libexec/pcp/pmdas/dm/pmdadm
/usr/libexec/pcp/pmdas/dm/pmns.dmcache
/usr/libexec/pcp/pmdas/dm/pmns.dmstats
/usr/libexec/pcp/pmdas/dm/pmns.dmthin
/usr/libexec/pcp/pmdas/dm/pmns.vdo
/usr/libexec/pcp/pmdas/dm/root
/var/lib/pcp/config/pmieconf/dm
/var/lib/pcp/config/pmieconf/dm/data_high_util
/var/lib/pcp/config/pmieconf/dm/metadata_high_util
/var/lib/pcp/pmdas/dm
/var/lib/pcp/pmdas/dm/Install
/var/lib/pcp/pmdas/dm/Remove
/var/lib/pcp/pmdas/dm/Upgrade
/var/lib/pcp/pmdas/dm/domain.h
/var/lib/pcp/pmdas/dm/help
/var/lib/pcp/pmdas/dm/pmda_dm.so
/var/lib/pcp/pmdas/dm/pmdadm
/var/lib/pcp/pmdas/dm/pmns.dmcache
/var/lib/pcp/pmdas/dm/pmns.dmstats
/var/lib/pcp/pmdas/dm/pmns.dmthin
/var/lib/pcp/pmdas/dm/pmns.vdo
/var/lib/pcp/pmdas/dm/root

References

Summary

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