Get Top Processes
get_top_processesList the top N processes sorted by CPU or memory usage to find resource-heavy programs and troubleshoot Linux system performance.
Instructions
Get top N processes sorted by CPU or memory usage.
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": "get_top_processes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of processes to return | |
| sort_by | No | Sort order | cpu |