List available PCP metrics
pcp_list_metricsBrowse PCP metric namespaces to find performance metrics recorded on a host. List metrics under a prefix or expand a sub-namespace, then query them with pcp_query_metrics.
Instructions
Browses the PCP metric namespace. Lists the metrics under 'prefix' with their descriptions, collapsing any large sub-namespace to one line giving its name and how many metrics it holds; call again with that name as the prefix to see inside it. Only metrics this system's pmlogger records are listed, so everything listed can be passed to pcp_query_metrics. The pcp_guide tool already names the commonly needed metrics, so reach for this when you need a subsystem the guide does not cover. Use only if get_system_information() indicates PCP is available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | System to run on: 'localhost' for the system the MCP server runs on, or a remote host to connect to via SSH | |
| prefix | No | Namespace to list, such as 'mem' or 'disk.dev'. Omit it to see the top-level namespaces, which is where to start when you do not know the name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |