Performance Co-Pilot (PCP) is a system performance analysis toolkit.
$ podman run -d \
--systemd always \
-p 44321:44321 \
-p 44322:44322 \
-v pcp-archives:/var/log/pcp/pmlogger \
--name pcp \
registry.fedoraproject.org/pcp
Note: On SELinux enabled systems, the following boolean needs to be set: sudo setsebool -P container_manage_cgroup true
$ sudo podman run -d \
--privileged \
--net host \
--systemd always \
-v pcp-archives:/var/log/pcp/pmlogger \
-v /:/host:ro,rslave \
-e HOST_MOUNT=/host \
--name pcp \
registry.fedoraproject.org/pcp
PCP_SERVICES
Default: pmcd,pmie,pmlogger,pmproxy
Comma-separated list of PCP services to start.
HOST_MOUNT
Default: unset.
Path inside the container to the bind mount of /
on the host.
REDIS_SERVERS
Default: localhost:6379
Redis connection spec(s) - could be any individual cluster host, and all hosts in the cluster will be automatically discovered. Alternately, use comma-separated hostspecs (non-clustered setup)
/var/log/pcp/pmlogger
Performance Co-Pilot archive files with historical metrics.
44321/tcp
The pmcd daemon listens on this port and exposes the PMAPI(3) to access metrics.
44322/tcp
The pmproxy daemon listens on this port and exposes the REST PMWEBAPI(3) to access metrics.