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

In this tutorial we learn how to install pcp-pmda-logger on Rocky Linux 8. pcp-pmda-logger is Performance Co-Pilot (PCP) metrics from arbitrary log files

Introduction

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

What is pcp-pmda-logger

This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics from a specified set of log files (or pipes). The PMDA supports both sampled and event-style metrics.

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

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

sudo dnf -y install pcp-pmda-logger

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

sudo yum -y install pcp-pmda-logger

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

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

sudo dnf remove pcp-pmda-logger

pcp-pmda-logger Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/fc/a3dd352824b4e18d9bdd856511d91859b7ab57
/usr/libexec/pcp/pmdas/logger
/usr/libexec/pcp/pmdas/logger/Install
/usr/libexec/pcp/pmdas/logger/README
/usr/libexec/pcp/pmdas/logger/Remove
/usr/libexec/pcp/pmdas/logger/domain.h
/usr/libexec/pcp/pmdas/logger/help
/usr/libexec/pcp/pmdas/logger/pmdalogger
/usr/libexec/pcp/pmdas/logger/pmns
/usr/libexec/pcp/pmdas/logger/root
/var/lib/pcp/pmdas/logger
/var/lib/pcp/pmdas/logger/Install
/var/lib/pcp/pmdas/logger/README
/var/lib/pcp/pmdas/logger/Remove
/var/lib/pcp/pmdas/logger/domain.h
/var/lib/pcp/pmdas/logger/help
/var/lib/pcp/pmdas/logger/pmdalogger
/var/lib/pcp/pmdas/logger/pmns
/var/lib/pcp/pmdas/logger/root

References

Summary

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