Suchen

Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

5.3. Performing Minimal PCP Setup to Gather File System Data

download PDF
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
  2. Start the pmcd service:
    # systemctl start pmcd.service
  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.default
  4. Start the pmlogger service:
    # systemctl start pmlogger.service
  5. Perform operations on the XFS file system.
  6. Stop the pmlogger service:
    # systemctl stop pmcd.service
    # systemctl stop pmlogger.service
  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/
    # tar -czf $(hostname).$(date +%F-%Hh%M).pcp.tar.gz $(hostname)
Red Hat logoGithubRedditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

© 2024 Red Hat, Inc.