How To Install pcp-pmda-sockets on Rocky Linux 8
Introduction
In this tutorial we learn how to install pcp-pmda-sockets
on Rocky Linux 8.
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 Rocky Linux 8. 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 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-sockets
using dnf
by running the following command:
sudo dnf -y install pcp-pmda-sockets
Install pcp-pmda-sockets 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-sockets
using yum
by running the following command:
sudo yum -y install pcp-pmda-sockets
How To Uninstall pcp-pmda-sockets on Rocky Linux 8
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 Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/6f4c22dce8d11fe4cbb233ce9256b1d2f903b0
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/dfceac086af2cb67e3990daaee7a2b078fe748
/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/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 Rocky Linux 8 using yum and dnf.