How To Install pcp-pmda-bcc on Fedora 36
Introduction
In this tutorial we learn how to install pcp-pmda-bcc
on Fedora 36.
What is pcp-pmda-bcc
This package contains the PCP Performance Metrics Domain Agent (PMDA) for extracting performance metrics from eBPF/BCC Python modules.
We can use yum
or dnf
to install pcp-pmda-bcc
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install pcp-pmda-bcc.
Install pcp-pmda-bcc 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-bcc
using dnf
by running the following command:
sudo dnf -y install pcp-pmda-bcc
Install pcp-pmda-bcc 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-bcc
using yum
by running the following command:
sudo yum -y install pcp-pmda-bcc
How To Uninstall pcp-pmda-bcc on Fedora 36
To uninstall only the pcp-pmda-bcc
package we can use the following command:
sudo dnf remove pcp-pmda-bcc
pcp-pmda-bcc Package Contents on Fedora 36
/etc/pcp/bcc
/etc/pcp/bcc/bcc-tracepoint.conf
/etc/pcp/bcc/bcc-uprobe.conf
/etc/pcp/bcc/bcc-usdt.conf
/etc/pcp/bcc/bcc.conf
/usr/lib/tmpfiles.d/pcp-pmda-bcc.conf
/usr/libexec/pcp/pmdas/bcc
/usr/libexec/pcp/pmdas/bcc/Install
/usr/libexec/pcp/pmdas/bcc/README.md
/usr/libexec/pcp/pmdas/bcc/Remove
/usr/libexec/pcp/pmdas/bcc/Upgrade
/usr/libexec/pcp/pmdas/bcc/modules
/usr/libexec/pcp/pmdas/bcc/modules/__init__.python
/usr/libexec/pcp/pmdas/bcc/modules/biolatency.bpf
/usr/libexec/pcp/pmdas/bcc/modules/biolatency.python
/usr/libexec/pcp/pmdas/bcc/modules/bioperpid.python
/usr/libexec/pcp/pmdas/bcc/modules/biotop.bpf
/usr/libexec/pcp/pmdas/bcc/modules/biotop.python
/usr/libexec/pcp/pmdas/bcc/modules/cachestat.bpf
/usr/libexec/pcp/pmdas/bcc/modules/cachestat.python
/usr/libexec/pcp/pmdas/bcc/modules/execsnoop.bpf
/usr/libexec/pcp/pmdas/bcc/modules/execsnoop.python
/usr/libexec/pcp/pmdas/bcc/modules/exectop.bpf
/usr/libexec/pcp/pmdas/bcc/modules/exectop.python
/usr/libexec/pcp/pmdas/bcc/modules/fs
/usr/libexec/pcp/pmdas/bcc/modules/fs/__init__.python
/usr/libexec/pcp/pmdas/bcc/modules/fs/ext4dist.bpf
/usr/libexec/pcp/pmdas/bcc/modules/fs/ext4dist.python
/usr/libexec/pcp/pmdas/bcc/modules/fs/xfsdist.bpf
/usr/libexec/pcp/pmdas/bcc/modules/fs/xfsdist.python
/usr/libexec/pcp/pmdas/bcc/modules/fs/zfsdist.bpf
/usr/libexec/pcp/pmdas/bcc/modules/fs/zfsdist.python
/usr/libexec/pcp/pmdas/bcc/modules/klockstat.bpf
/usr/libexec/pcp/pmdas/bcc/modules/klockstat.python
/usr/libexec/pcp/pmdas/bcc/modules/kprobe_hits.bpf
/usr/libexec/pcp/pmdas/bcc/modules/kprobe_hits.python
/usr/libexec/pcp/pmdas/bcc/modules/netproc.bpf
/usr/libexec/pcp/pmdas/bcc/modules/netproc.python
/usr/libexec/pcp/pmdas/bcc/modules/pcpbcc.python
/usr/libexec/pcp/pmdas/bcc/modules/profile.bpf
/usr/libexec/pcp/pmdas/bcc/modules/profile.python
/usr/libexec/pcp/pmdas/bcc/modules/runqlat.python
/usr/libexec/pcp/pmdas/bcc/modules/runqlat_kp.bpf
/usr/libexec/pcp/pmdas/bcc/modules/runqlat_tp.bpf
/usr/libexec/pcp/pmdas/bcc/modules/syscount.bpf
/usr/libexec/pcp/pmdas/bcc/modules/syscount.python
/usr/libexec/pcp/pmdas/bcc/modules/sysfork.bpf
/usr/libexec/pcp/pmdas/bcc/modules/sysfork.python
/usr/libexec/pcp/pmdas/bcc/modules/tcplife.python
/usr/libexec/pcp/pmdas/bcc/modules/tcplife_kp.bpf
/usr/libexec/pcp/pmdas/bcc/modules/tcplife_tp.bpf
/usr/libexec/pcp/pmdas/bcc/modules/tcpperpid.python
/usr/libexec/pcp/pmdas/bcc/modules/tcpretrans.python
/usr/libexec/pcp/pmdas/bcc/modules/tcpretrans_count.bpf
/usr/libexec/pcp/pmdas/bcc/modules/tcptop.bpf
/usr/libexec/pcp/pmdas/bcc/modules/tcptop.python
/usr/libexec/pcp/pmdas/bcc/modules/tracepoint_hits.bpf
/usr/libexec/pcp/pmdas/bcc/modules/tracepoint_hits.python
/usr/libexec/pcp/pmdas/bcc/modules/ucalls.bpf
/usr/libexec/pcp/pmdas/bcc/modules/ucalls.python
/usr/libexec/pcp/pmdas/bcc/modules/uprobe_hits.bpf
/usr/libexec/pcp/pmdas/bcc/modules/uprobe_hits.python
/usr/libexec/pcp/pmdas/bcc/modules/usdt_hits.bpf
/usr/libexec/pcp/pmdas/bcc/modules/usdt_hits.python
/usr/libexec/pcp/pmdas/bcc/modules/usdt_jvm_threads.bpf
/usr/libexec/pcp/pmdas/bcc/modules/usdt_jvm_threads.python
/usr/libexec/pcp/pmdas/bcc/modules/ustat.python
/usr/libexec/pcp/pmdas/bcc/pmdabcc.python
/usr/libexec/pcp/pmdas/bcc/pmdautil.python
/var/lib/pcp/pmdas/bcc
/var/lib/pcp/pmdas/bcc/Install
/var/lib/pcp/pmdas/bcc/README.md
/var/lib/pcp/pmdas/bcc/Remove
/var/lib/pcp/pmdas/bcc/Upgrade
/var/lib/pcp/pmdas/bcc/bcc-tracepoint.conf
/var/lib/pcp/pmdas/bcc/bcc-uprobe.conf
/var/lib/pcp/pmdas/bcc/bcc-usdt.conf
/var/lib/pcp/pmdas/bcc/bcc.conf
/var/lib/pcp/pmdas/bcc/modules
/var/lib/pcp/pmdas/bcc/modules/__init__.python
/var/lib/pcp/pmdas/bcc/modules/biolatency.bpf
/var/lib/pcp/pmdas/bcc/modules/biolatency.python
/var/lib/pcp/pmdas/bcc/modules/bioperpid.python
/var/lib/pcp/pmdas/bcc/modules/biotop.bpf
/var/lib/pcp/pmdas/bcc/modules/biotop.python
/var/lib/pcp/pmdas/bcc/modules/cachestat.bpf
/var/lib/pcp/pmdas/bcc/modules/cachestat.python
/var/lib/pcp/pmdas/bcc/modules/execsnoop.bpf
/var/lib/pcp/pmdas/bcc/modules/execsnoop.python
/var/lib/pcp/pmdas/bcc/modules/exectop.bpf
/var/lib/pcp/pmdas/bcc/modules/exectop.python
/var/lib/pcp/pmdas/bcc/modules/fs
/var/lib/pcp/pmdas/bcc/modules/fs/__init__.python
/var/lib/pcp/pmdas/bcc/modules/fs/ext4dist.bpf
/var/lib/pcp/pmdas/bcc/modules/fs/ext4dist.python
/var/lib/pcp/pmdas/bcc/modules/fs/xfsdist.bpf
/var/lib/pcp/pmdas/bcc/modules/fs/xfsdist.python
/var/lib/pcp/pmdas/bcc/modules/fs/zfsdist.bpf
/var/lib/pcp/pmdas/bcc/modules/fs/zfsdist.python
/var/lib/pcp/pmdas/bcc/modules/klockstat.bpf
/var/lib/pcp/pmdas/bcc/modules/klockstat.python
/var/lib/pcp/pmdas/bcc/modules/kprobe_hits.bpf
/var/lib/pcp/pmdas/bcc/modules/kprobe_hits.python
/var/lib/pcp/pmdas/bcc/modules/netproc.bpf
/var/lib/pcp/pmdas/bcc/modules/netproc.python
/var/lib/pcp/pmdas/bcc/modules/pcpbcc.python
/var/lib/pcp/pmdas/bcc/modules/profile.bpf
/var/lib/pcp/pmdas/bcc/modules/profile.python
/var/lib/pcp/pmdas/bcc/modules/runqlat.python
/var/lib/pcp/pmdas/bcc/modules/runqlat_kp.bpf
/var/lib/pcp/pmdas/bcc/modules/runqlat_tp.bpf
/var/lib/pcp/pmdas/bcc/modules/syscount.bpf
/var/lib/pcp/pmdas/bcc/modules/syscount.python
/var/lib/pcp/pmdas/bcc/modules/sysfork.bpf
/var/lib/pcp/pmdas/bcc/modules/sysfork.python
/var/lib/pcp/pmdas/bcc/modules/tcplife.python
/var/lib/pcp/pmdas/bcc/modules/tcplife_kp.bpf
/var/lib/pcp/pmdas/bcc/modules/tcplife_tp.bpf
/var/lib/pcp/pmdas/bcc/modules/tcpperpid.python
/var/lib/pcp/pmdas/bcc/modules/tcpretrans.python
/var/lib/pcp/pmdas/bcc/modules/tcpretrans_count.bpf
/var/lib/pcp/pmdas/bcc/modules/tcptop.bpf
/var/lib/pcp/pmdas/bcc/modules/tcptop.python
/var/lib/pcp/pmdas/bcc/modules/tracepoint_hits.bpf
/var/lib/pcp/pmdas/bcc/modules/tracepoint_hits.python
/var/lib/pcp/pmdas/bcc/modules/ucalls.bpf
/var/lib/pcp/pmdas/bcc/modules/ucalls.python
/var/lib/pcp/pmdas/bcc/modules/uprobe_hits.bpf
/var/lib/pcp/pmdas/bcc/modules/uprobe_hits.python
/var/lib/pcp/pmdas/bcc/modules/usdt_hits.bpf
/var/lib/pcp/pmdas/bcc/modules/usdt_hits.python
/var/lib/pcp/pmdas/bcc/modules/usdt_jvm_threads.bpf
/var/lib/pcp/pmdas/bcc/modules/usdt_jvm_threads.python
/var/lib/pcp/pmdas/bcc/modules/ustat.python
/var/lib/pcp/pmdas/bcc/pmdabcc.python
/var/lib/pcp/pmdas/bcc/pmdautil.python
References
Summary
In this tutorial we learn how to install pcp-pmda-bcc
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).