How To Install pcp-pmda-sockets on Fedora 36

In this tutorial we learn how to install pcp-pmda-sockets in Fedora 36. pcp-pmda-sockets is Performance Co-Pilot (PCP) per-socket metrics

Introduction

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

What is pcp-pmda-sockets

This package contains the PCP Performance Metric Domain Agent (PMDA) for collecting per-socket statistics, making use of utilities such as ‘ss’.

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

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

sudo dnf -y install pcp-pmda-sockets

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

sudo yum -y install pcp-pmda-sockets

How To Uninstall pcp-pmda-sockets on Fedora 36

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

sudo dnf remove pcp-pmda-sockets

pcp-pmda-sockets Package Contents on Fedora 36

/etc/pcp/sockets
/etc/pcp/sockets/filter.conf
/usr/lib/.build-id
/usr/lib/.build-id/01/4e2e1932d702c5367542ef343bdf9629ecb739
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/cd5a639e0a9c66a14b716e69f81845c16fcb2d
/usr/lib/tmpfiles.d/pcp-pmda-sockets.conf
/usr/libexec/pcp/pmdas/sockets
/usr/libexec/pcp/pmdas/sockets/Install
/usr/libexec/pcp/pmdas/sockets/Remove
/usr/libexec/pcp/pmdas/sockets/Upgrade
/usr/libexec/pcp/pmdas/sockets/domain.h
/usr/libexec/pcp/pmdas/sockets/help
/usr/libexec/pcp/pmdas/sockets/pmda_sockets.so
/usr/libexec/pcp/pmdas/sockets/pmdasockets
/usr/libexec/pcp/pmdas/sockets/pmns
/usr/libexec/pcp/pmdas/sockets/root
/var/lib/pcp/pmdas/sockets
/var/lib/pcp/pmdas/sockets/Install
/var/lib/pcp/pmdas/sockets/Remove
/var/lib/pcp/pmdas/sockets/Upgrade
/var/lib/pcp/pmdas/sockets/domain.h
/var/lib/pcp/pmdas/sockets/filter.conf
/var/lib/pcp/pmdas/sockets/help
/var/lib/pcp/pmdas/sockets/pmda_sockets.so
/var/lib/pcp/pmdas/sockets/pmdasockets
/var/lib/pcp/pmdas/sockets/pmns
/var/lib/pcp/pmdas/sockets/root

References

Summary

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