How To Install pcp-manager.x86_64 on Amazon Linux 2

In this tutorial we learn how to install pcp-manager.x86_64 in Amazon Linux 2. pcp-manager.x86_64 is Performance Co-Pilot (PCP) manager daemon

Introduction

In this tutorial we learn how to install pcp-manager.x86_64 on Amazon Linux 2.

What is pcp-manager.x86_64

An optional daemon (pmmgr) that manages a collection of pmlogger and pmie daemons, for a set of discovered local and remote hosts running the performance metrics collection daemon (pmcd). It ensures these daemons are running when appropriate, and manages their log rotation needs. It is an alternative to the cron-based pmlogger/pmie service scripts.

We can use yum to install pcp-manager.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install pcp-manager.x86_64.

Install pcp-manager.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install pcp-manager.x86_64 using yum by running the following command:

sudo yum -y install pcp-manager.x86_64

How To Uninstall pcp-manager.x86_64 on Amazon Linux 2

To uninstall only the pcp-manager.x86_64 package we can use the following command:

sudo yum remove pcp-manager.x86_64

pcp-manager.x86_64 Package Contents on Amazon Linux 2

/etc/pcp/pmmgr
/etc/pcp/pmmgr/README
/etc/pcp/pmmgr/disk-full-retention
/etc/pcp/pmmgr/disk-full-threshold
/etc/pcp/pmmgr/pmie
/etc/pcp/pmmgr/pmieconf
/etc/pcp/pmmgr/pmlogconf
/etc/pcp/pmmgr/pmlogger
/etc/pcp/pmmgr/pmlogmerge
/etc/pcp/pmmgr/pmlogmerge-granular
/etc/pcp/pmmgr/pmlogmerge-rewrite
/etc/pcp/pmmgr/pmlogreduce
/etc/pcp/pmmgr/pmmgr.options
/etc/pcp/pmmgr/target-discovery.example-avahi
/usr/lib/systemd/system/pmmgr.service
/usr/libexec/pcp/bin/pmmgr
/usr/share/pcp/lib/pmmgr
/var/log/pcp/pmmgr

References

Summary

In this tutorial we learn how to install pcp-manager.x86_64 on Amazon Linux 2 using yum.