How To Install pcp-pmda-mssql on Fedora 36

In this tutorial we learn how to install pcp-pmda-mssql in Fedora 36. pcp-pmda-mssql is Performance Co-Pilot (PCP) metrics for Microsoft SQL Server

Introduction

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

What is pcp-pmda-mssql

This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics from Microsoft SQL Server.

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

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

sudo dnf -y install pcp-pmda-mssql

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

sudo yum -y install pcp-pmda-mssql

How To Uninstall pcp-pmda-mssql on Fedora 36

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

sudo dnf remove pcp-pmda-mssql

pcp-pmda-mssql Package Contents on Fedora 36

/etc/pcp/mssql
/etc/pcp/mssql/mssql.conf
/etc/pcp/pmieconf/mssql
/etc/pcp/pmieconf/mssql/stolen_node_memory
/usr/lib/tmpfiles.d/pcp-pmda-mssql.conf
/usr/libexec/pcp/pmdas/mssql
/usr/libexec/pcp/pmdas/mssql/Install
/usr/libexec/pcp/pmdas/mssql/Remove
/usr/libexec/pcp/pmdas/mssql/Upgrade
/usr/libexec/pcp/pmdas/mssql/pmdamssql.python
/var/lib/pcp/config/pmieconf/mssql
/var/lib/pcp/config/pmieconf/mssql/stolen_node_memory
/var/lib/pcp/pmdas/mssql
/var/lib/pcp/pmdas/mssql/Install
/var/lib/pcp/pmdas/mssql/Remove
/var/lib/pcp/pmdas/mssql/Upgrade
/var/lib/pcp/pmdas/mssql/mssql.conf
/var/lib/pcp/pmdas/mssql/pmdamssql.python

References

Summary

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