get_top_processes
Retrieve the top resource-consuming processes on a VPS. Sort by CPU or memory usage and specify the number of processes to return.
Instructions
Retrieve the top resource-consuming processes running on the VPS.
Args: sort_by: Metric to rank processes by ('cpu' or 'memory'). Default: 'cpu'. limit: Number of top processes to return (1 to 50, default: 10).
Returns: JSON string listing process PID, name, user, CPU %, RAM %, RSS memory, and command summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| sort_by | No | cpu |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |