processes
Monitor system health by listing top CPU- or memory-consuming running tasks, including total task count and zombie tasks, to identify bottlenecks or hung tasks on local or remote hosts.
Instructions
List the top processes by CPU or memory, with a total count and any zombies broken out separately
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of processes to return (default: 10, 0 for all) | |
| server | No | Remote server name from config (optional, runs locally if omitted) | |
| sort_by | No | Sort by cpu (default) or mem |