process_top
List the top CPU- or memory-consuming processes on a host, with optional host selection and result limit, to quickly identify resource-heavy workloads.
Instructions
List the top processes on a host 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": "process_top"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | sort processes by cpu or mem (default cpu) | |
| host | No | target host name from the opsgate config; omit for the default host | |
| limit | No | how many processes to return (default 15, max 50) |