The following procedure provides instructions on how to install a minimal PCP setup to collect statistics on Red Hat Enterprise Linux. The minimal setup involves adding the minimum number of packages on a production system needed to gather data for further analysis.
tar.gz archive of the
pmlogger output can be analyzed by using various PCP tools, such as PCP Charts, and compared with other sources of performance information.
Install the pcp
yum install pcp
utility to update the
configuration and enable the XFS information, XFS data, and log I/O traffic groups:
systemctl start pmcd.service
systemctl start pmlogger.service
Perform operations on the XFS file system.
systemctl stop pmcd.service
systemctl stop pmlogger.service
Collect the output and save it to a
file named based on the hostname and the current date and time:
tar -czf $(hostname).$(date +%F-%Hh%M).pcp.tar.gz $(hostname)