How To Install pcp-system-tools on Rocky Linux 8

In this tutorial we learn how to install pcp-system-tools on Rocky Linux 8. pcp-system-tools is Performance Co-Pilot (PCP) System and Monitoring Tools

Introduction

In this tutorial we learn how to install pcp-system-tools on Rocky Linux 8.

What is pcp-system-tools

This PCP module contains additional system monitoring tools written in the Python language.

We can use yum or dnf to install pcp-system-tools on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install pcp-system-tools.

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

sudo dnf -y install pcp-system-tools

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

sudo yum -y install pcp-system-tools

How To Uninstall pcp-system-tools on Rocky Linux 8

To uninstall only the pcp-system-tools package we can use the following command:

sudo dnf remove pcp-system-tools

pcp-system-tools Package Contents on Rocky Linux 8

/etc/pcp/dstat
/etc/pcp/dstat/aio
/etc/pcp/dstat/cpu
/etc/pcp/dstat/disk
/etc/pcp/dstat/dm
/etc/pcp/dstat/entropy
/etc/pcp/dstat/freespace
/etc/pcp/dstat/fs
/etc/pcp/dstat/gpfs
/etc/pcp/dstat/int
/etc/pcp/dstat/io
/etc/pcp/dstat/ipc
/etc/pcp/dstat/load
/etc/pcp/dstat/locks
/etc/pcp/dstat/md
/etc/pcp/dstat/mem
/etc/pcp/dstat/memcache
/etc/pcp/dstat/mysql
/etc/pcp/dstat/net
/etc/pcp/dstat/nfs
/etc/pcp/dstat/page
/etc/pcp/dstat/part
/etc/pcp/dstat/postfix
/etc/pcp/dstat/proc
/etc/pcp/dstat/redis
/etc/pcp/dstat/rpc
/etc/pcp/dstat/sockets
/etc/pcp/dstat/swap
/etc/pcp/dstat/sys
/etc/pcp/dstat/tcp
/etc/pcp/dstat/utmp
/etc/pcp/dstat/vm
/etc/pcp/pmrep
/etc/pcp/pmrep/pmrep.conf
/usr/bin/dstat
/usr/bin/pcp2csv
/usr/bin/pmiostat
/usr/bin/pmrep
/usr/bin/pmrepconf
/usr/lib/.build-id
/usr/lib/.build-id/af/96379ac5ac7c5b501a3fdc659d6ba5471605ba
/usr/lib/.build-id/b6/90dfda439195effc5ba44cb9fec38933a87348
/usr/libexec/pcp/bin/pcp-atop
/usr/libexec/pcp/bin/pcp-atopsar
/usr/libexec/pcp/bin/pcp-dmcache
/usr/libexec/pcp/bin/pcp-dstat
/usr/libexec/pcp/bin/pcp-free
/usr/libexec/pcp/bin/pcp-htop
/usr/libexec/pcp/bin/pcp-iostat
/usr/libexec/pcp/bin/pcp-ipcs
/usr/libexec/pcp/bin/pcp-lvmcache
/usr/libexec/pcp/bin/pcp-mpstat
/usr/libexec/pcp/bin/pcp-numastat
/usr/libexec/pcp/bin/pcp-pidstat
/usr/libexec/pcp/bin/pcp-shping
/usr/libexec/pcp/bin/pcp-tapestat
/usr/libexec/pcp/bin/pcp-uptime
/usr/libexec/pcp/bin/pcp-verify
/usr/share/bash-completion/completions/pmrep

References

Summary

In this tutorial we learn how to install pcp-system-tools on Rocky Linux 8 using yum and dnf.