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.
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) |