ssh_process_manager
List, inspect, or terminate remote server processes via SSH. Filter by name, sort by CPU or memory, and send termination signals.
Instructions
Lists, inspects, or terminates processes on a remote server over SSH. The action parameter selects: list returns top processes (read-only), info returns details for one process (read-only), and kill sends a signal to terminate a process and mutates remote state. pid is required for kill and info. kill is blocked on servers configured as readonly. signal defaults to TERM, sortBy defaults to cpu, and limit defaults to 20; filter narrows the list by name or command.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | Process ID (required for kill and info actions) | |
| limit | No | Number of processes to return (default: 20) | |
| action | Yes | Action: list processes, kill process, or get process info | |
| filter | No | Filter processes by name/command | |
| server | Yes | Server name | |
| signal | No | Signal to send when killing (default: TERM) | |
| sortBy | No | Sort processes by CPU or memory (default: cpu) |