List Processes
list_processesList running processes with details like PID, CPU, memory, status, and command line. Filter by user or name and sort to identify resource-heavy or specific processes.
Instructions
List running processes with pid, name, cpu%, mem%, status, cmdline.
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": "list_processes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | max results | |
| sort_by | No | cpu | mem | pid | name | cpu |
| username | No | filter by owning user | |
| name_filter | No | substring match on name or cmdline |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |