top_processes
Lists processes sorted by CPU usage over a short sample or resident memory to identify resource-heavy workloads on a Linux host.
Instructions
List the heaviest processes by CPU% (sampled over ~0.5s) or resident memory.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "top_processes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| sort_by | No | cpu |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |