$linuxjunkies
>

pcp(1)

Performance Co-Pilot - a system performance monitoring and analysis framework.

UbuntuDebianFedoraArch

Synopsis

pcp [OPTION]... [COMMAND]

Description

PCP (Performance Co-Pilot) is a framework for collecting, archiving, and analyzing system and application performance metrics. It provides tools to monitor CPU, memory, disk, network, and custom metrics across single or multiple hosts with minimal performance overhead.

The pcp command serves as an entry point to the PCP toolset, providing quick system overview and access to monitoring utilities. It can display current performance status or launch interactive analysis tools.

Common options

FlagWhat it does
-a ARCHIVEanalyze metrics from a PCP archive file instead of live data
-h HOSTconnect to metrics from specified remote host
-llist available metrics and their descriptions
-s SAMPLEScollect specified number of samples before exiting
-t INTERVALset sampling interval in seconds (default 1)
--helpdisplay help message and exit
-V, --versiondisplay PCP version information
-zuse timezone of the archive instead of local timezone

Examples

display current system performance overview (CPU, memory, disk, network)

pcp

show performance metrics from a remote system

pcp -h remote-host

analyze archived metrics at 5-second intervals for 10 samples

pcp -a /var/log/pcp/archives/myhost -t 5 -s 10

list all available disk-related performance metrics

pcp -l | grep disk

launch interactive graphical performance chart viewer (PCP tool)

pmchart

continuous live system statistics from remote host

pmstat -h myhost