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

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

Introduction

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

What is pcp-zeroconf.x86_64

This package contains configuration tweaks and files to increase metrics gathering frequency, several extended pmlogger configurations, as well as automated pmie diagnosis, alerting and self-healing for the localhost. A cron script also writes daily performance summary reports similar to those written by sysstat.

We can use yum to install pcp-zeroconf.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-zeroconf.x86_64.

Install pcp-zeroconf.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-zeroconf.x86_64 using yum by running the following command:

sudo yum -y install pcp-zeroconf.x86_64

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

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

sudo yum remove pcp-zeroconf.x86_64

pcp-zeroconf.x86_64 Package Contents on Amazon Linux 2

/usr/lib/systemd/system/pmlogger_daily_report-poll.service
/usr/lib/systemd/system/pmlogger_daily_report-poll.timer
/usr/lib/systemd/system/pmlogger_daily_report.service
/usr/lib/systemd/system/pmlogger_daily_report.timer
/usr/libexec/pcp/bin/pmlogger_daily_report
/var/lib/pcp/config/pmieconf/zeroconf
/var/lib/pcp/config/pmieconf/zeroconf/all_threads
/var/lib/pcp/config/pmlogconf/zeroconf
/var/lib/pcp/config/pmlogconf/zeroconf/atop-proc
/var/lib/pcp/config/pmlogconf/zeroconf/interrupts
/var/lib/pcp/config/pmlogconf/zeroconf/nfsclient
/var/lib/pcp/config/pmlogconf/zeroconf/numastat
/var/lib/pcp/config/pmlogconf/zeroconf/pidstat
/var/lib/pcp/config/pmlogconf/zeroconf/pidstat-summary
/var/lib/pcp/config/pmlogconf/zeroconf/tapestat
/var/lib/pcp/config/pmlogconf/zeroconf/xfs-perdev

References

Summary

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