How To Install pcp-parfait-agent on CentOS 7
Introduction
In this tutorial we learn how to install pcp-parfait-agent
on CentOS 7.
What is pcp-parfait-agent
This package contains the Parfait Agent for instrumenting Java applications. The agent can extract live performance metrics from the JVM and other sources, in unmodified applications (via the -java-agent java command line option). It interfaces to Performance Co-Pilot (PCP) using the Memory Mapped Value (MMV) machinery for extremely lightweight instrumentation.
We can use yum
or dnf
to install pcp-parfait-agent
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install pcp-parfait-agent.
Install pcp-parfait-agent on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install pcp-parfait-agent
using yum
by running the following command:
Install pcp-parfait-agent on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install pcp-parfait-agent
using dnf
by running the following command:
How To Uninstall pcp-parfait-agent on CentOS 7
To uninstall only the pcp-parfait-agent
package we can use the following command:
References
Summary
In this tutorial we learn how to install pcp-parfait-agent
on CentOS 7 using yum
and dnf
.