list_processes
View running processes with PID, name, user, CPU%, memory%, and status. Sort by CPU or memory usage to identify resource-heavy tasks—read-only and safe.
Instructions
List running processes on the host (read-only; cannot start, stop, or signal anything).
Args: limit: Max number of processes to return (1-200). sort_by: "cpu" or "memory" -- which usage metric to sort by, descending.
Returns: Each process's pid, name, username, cpu%, memory%, and status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| sort_by | No | cpu |