User’s and Administrator’s Guide

This guide describes the Performance Co-Pilot (PCP) performance analysis toolkit. PCP provides a systems-level suite of tools that cooperate to deliver distributed performance monitoring and performance management services spanning hardware platforms, operating systems, service layers, database internals, user applications and distributed architectures.

PCP is a cross-platform, open source software package - customizations, extensions, source code inspection, and tinkering in general is actively encouraged.

“About User’s and Administrator’s Guide” includes short descriptions of the chapters in this book, directs you to additional sources of information, and explains typographical conventions.

⁠What This Guide Contains

This guide contains the following chapters:

Chapter 1, Introduction to PCP, provides an introduction, a brief overview of the software components, and conceptual foundations of the PCP software.

Chapter 2, Installing and Configuring Performance Co-Pilot, describes the basic installation and configuration steps necessary to get PCP running on your systems.

Chapter 3, Common Conventions and Arguments, describes the user interface components that are common to most of the text-based utilities that make up the monitor portion of PCP.

Chapter 4, Monitoring System Performance, describes the performance monitoring tools available in Performance Co-Pilot (PCP).

Chapter 5, Performance Metrics Inference Engine, describes the Performance Metrics Inference Engine (pmie) tool that provides automated monitoring of, and reasoning about, system performance within the PCP framework.

Chapter 6, Archive Logging, covers the PCP services and utilities that support archive logging for capturing accurate historical performance records.

Chapter 7, Performance Co-Pilot Deployment Strategies, presents the various options for deploying PCP functionality across cooperating systems.

Chapter 8, Customizing and Extending PCP Services, describes the procedures necessary to ensure that the PCP configuration is customized in ways that maximize the coverage and quality of performance monitoring and management services.

Chapter 9, Fast, Scalable Time Series Querying - pmseries, describes the concepts of pmseries and lays out the path to the Performance Co-Pilot (PCP) Grafana Plugin.

Audience for This Guide

This guide is written for the system administrator or performance analyst who is directly using and administering PCP applications.

Man Pages

The operating system man pages provide concise reference information on the use of commands, subroutines, and system resources. There is usually a man page for each PCP command or subroutine. To see a list of all the PCP man pages, start from the following command:

man PCPIntro

Each man page usually has a “SEE ALSO” section, linking to other, related entries.

To see a particular man page, supply its name to the man command, for example:

man pcp

The man pages are arranged in different sections - user commands, programming interfaces, and so on. For a complete list of manual sections on a platform enter the command:

man man

When referring to man pages, this guide follows a standard convention: the section number in parentheses follows the item. For example, pminfo(1) refers to the man page in section 1 for the pminfo command.

Web Site

The following web site is accessible to everyone:

URL : https://pcp.io

PCP is open source software released under the GNU General Public License (GPL) and GNU Lesser General Public License (LGPL)

⁠Conventions

The following conventions are used throughout this document:

Convention

Meaning

${PCP_VARIABLE}

A brace-enclosed all-capital-letters syntax indicates a variable that has been sourced from the global ${PCP_DIR}/etc/pcp.conf file. These special variables indicate parameters that affect all PCP commands, and are likely to be different between platforms.

command

This fixed-space font denotes literal items such as commands, files, routines, path names, signals, messages, and programming language structures.

variable

Italic typeface denotes variable entries and words or concepts being defined.

user input

This bold, fixed-space font denotes literal items that the user enters in interactive sessions. (Output is shown in nonbold, fixed-space font.)

[ ]

Brackets enclose optional portions of a command or directive line.

Ellipses indicate that a preceding element can be repeated.

ALL CAPS

All capital letters denote environment variables, operator names, directives, defined constants, and macros in C programs.

()

Parentheses that follow function names surround function arguments or are empty if the function has no arguments; parentheses that follow commands surround man page section numbers.

Reader Comments

If you have comments about the technical accuracy, content, or organization of this document, contact the PCP maintainers using either the email address or the web site listed earlier.

We value your comments and will respond to them promptly.