- Lab
- A Cloud Guru
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.*
Path Info
Table of Contents
-
Challenge
Install Packages and Start Services
- Install the
PCP
,pcp-zerconf
, andpcp-system-tools
packages. - Enable and start the
pmcd
andpmlogger
services.- Confirm both services are running as expected.
- 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
andpmlogger
services.
- Run the
- Start local system services.
evotl
evodd
- Install the
-
Challenge
Investigate System Utilization, Resources, and Processes
- 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.
- Launch
- 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.
- 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.
- Create a custom view on a 2-second refresh cycle, using the following metrics:
- Use
-
Challenge
Stop the Local Services and Monitor the System Again
- Stop the
evotl
andevodd
services. - Launch
pcp atop
.- Review the memory and CPU utilization data.
- Confirm system utilization reduction with the services stopped.
- Use
pmdumptext
to review the same metrics.- Confirm system utilization reduction with the services stopped.
- Stop the
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.