Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

Using Performance Co-Pilot to Collect and View System Performance Data

In this hands-on lab, you will be using `Performance Co-Pilot` (`pcp`) to monitor a lab system. As part of the lab, you will install `pcp` with some additional packages. You will configure `pmlogger` to ensure logging is configured correctly, then use the `pcp atop` command view system utilization and process activity. Finally, `pminfo` and `pmdumptext` to view system system metrics. *This course is not approved or sponsored by Red Hat.*

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Advanced
Duration
Clock icon 45m
Published
Clock icon Jun 30, 2021

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Install Packages and Start Services

    1. Install the PCP, pcp-zerconf, and pcp-system-tools packages.
    2. Enable and start the pmcd and pmlogger services.
      • Confirm both services are running as expected.
    3. Configure pmlogger.
      • Run the pmlogconf utility.
      • Review the prompts and complete the configuration using a base configuration.
      • Once the configuration is complete, cycle the pmcd and pmlogger services.
    4. Start local system services.
      • evotl
      • evodd
  2. Challenge

    Investigate System Utilization, Resources, and Processes

    1. Use pcp atop command to view utilization details and processes.
      • Launch pcp atop.
      • Sort the view by memory usage and identify the process using the most memory.
      • Sort the view by CPU usage and identify the process using the most CPU time.
      • Monitor the CPU and memory metrics in the upper section of the output.
    2. View available metrics using pminfo.
      • View the full list available metrics.
      • Filter list of available metrics and locate the following values:
        • free and used memory
        • free and used swap
      • Use pminfo to display point in values for the metrics identified above.
        • Review the information provided and make note of the values.
    3. Use pmdumptext display specific metrics.
      • Create a custom view on a 2-second refresh cycle, using the following metrics:
        • kernel load
        • memory used and free
        • swap used and free
      • Review the information and make note of the values.
  3. Challenge

    Stop the Local Services and Monitor the System Again

    1. Stop the evotl and evodd services.
    2. Launch pcp atop.
      • Review the memory and CPU utilization data.
      • Confirm system utilization reduction with the services stopped.
    3. Use pmdumptext to review the same metrics.
      • Confirm system utilization reduction with the services stopped.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans