Este contenido no está disponible en el idioma seleccionado.

5.3. Performing Minimal PCP Setup to Gather File System Data


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.
The resulting 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.
  1. Install the pcp package:
    # yum install pcp
    Copy to Clipboard Toggle word wrap
  2. Start the pmcd service:
    # systemctl start pmcd.service
    Copy to Clipboard Toggle word wrap
  3. Run the pmlogconf utility to update the pmlogger configuration and enable the XFS information, XFS data, and log I/O traffic groups:
    # pmlogconf -r /var/lib/pcp/config/pmlogger/config.defaultpmlogconf -r /var/lib/pcp/config/pmlogger/config.default
    Copy to Clipboard Toggle word wrap
  4. Start the pmlogger service:
    # systemctl start pmlogger.service
    Copy to Clipboard Toggle word wrap
  5. Perform operations on the XFS file system.
  6. Stop the pmlogger service:
    # systemctl stop pmcd.service
    Copy to Clipboard Toggle word wrap
    # systemctl stop pmlogger.service
    Copy to Clipboard Toggle word wrap
  7. Collect the output and save it to a tar.gz file named based on the hostname and the current date and time:
    # cd /var/log/pcp/pmlogger/
    Copy to Clipboard Toggle word wrap
    # tar -czf $(hostname).$(date +%F-%Hh%M).pcp.tar.gz $(hostname)
    Copy to Clipboard Toggle word wrap
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat