How To Install pcp-pmda-smart on Rocky Linux 8
Introduction
In this tutorial we learn how to install pcp-pmda-smart
on Rocky Linux 8.
What is pcp-pmda-smart
This package contains the PCP Performance Metric Domain Agent (PMDA) for collecting metrics of disk S.M.A.R.T values making use of data from the smartmontools package.
We can use yum
or dnf
to install pcp-pmda-smart
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install pcp-pmda-smart.
Install pcp-pmda-smart 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-smart
using dnf
by running the following command:
sudo dnf -y install pcp-pmda-smart
Install pcp-pmda-smart 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-smart
using yum
by running the following command:
sudo yum -y install pcp-pmda-smart
How To Uninstall pcp-pmda-smart on Rocky Linux 8
To uninstall only the pcp-pmda-smart
package we can use the following command:
sudo dnf remove pcp-pmda-smart
pcp-pmda-smart Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/06/adcfb26a1855339b55446c2e6eda6f216a1b6e
/usr/lib/.build-id/95/90496634d8a0fc8f68edb4efcf5a284e952ea6
/usr/libexec/pcp/pmdas/smart
/usr/libexec/pcp/pmdas/smart/Install
/usr/libexec/pcp/pmdas/smart/Remove
/usr/libexec/pcp/pmdas/smart/domain.h
/usr/libexec/pcp/pmdas/smart/help
/usr/libexec/pcp/pmdas/smart/pmda_smart.so
/usr/libexec/pcp/pmdas/smart/pmdasmart
/usr/libexec/pcp/pmdas/smart/pmns
/usr/libexec/pcp/pmdas/smart/root
/var/lib/pcp/pmdas/smart
/var/lib/pcp/pmdas/smart/Install
/var/lib/pcp/pmdas/smart/Remove
/var/lib/pcp/pmdas/smart/domain.h
/var/lib/pcp/pmdas/smart/help
/var/lib/pcp/pmdas/smart/pmda_smart.so
/var/lib/pcp/pmdas/smart/pmdasmart
/var/lib/pcp/pmdas/smart/pmns
/var/lib/pcp/pmdas/smart/root
References
Summary
In this tutorial we learn how to install pcp-pmda-smart
on Rocky Linux 8 using yum and dnf.