pcp(1)
Performance Co-Pilot - a system performance monitoring and analysis framework.
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
| Flag | What it does |
|---|---|
-a ARCHIVE | analyze metrics from a PCP archive file instead of live data |
-h HOST | connect to metrics from specified remote host |
-l | list available metrics and their descriptions |
-s SAMPLES | collect specified number of samples before exiting |
-t INTERVAL | set sampling interval in seconds (default 1) |
--help | display help message and exit |
-V, --version | display PCP version information |
-z | use timezone of the archive instead of local timezone |
Examples
display current system performance overview (CPU, memory, disk, network)
pcpshow performance metrics from a remote system
pcp -h remote-hostanalyze archived metrics at 5-second intervals for 10 samples
pcp -a /var/log/pcp/archives/myhost -t 5 -s 10list all available disk-related performance metrics
pcp -l | grep disklaunch interactive graphical performance chart viewer (PCP tool)
pmchartcontinuous live system statistics from remote host
pmstat -h myhost