listProcesses
List running processes on your system with optional name filtering. Check service status, find process IDs, or monitor resource usage.
Instructions
List running processes on the host system using ps aux, optionally filtered by name. Without a filter, returns all running processes. With a filter, returns only processes whose command line matches the given pattern. Output format is standard ps aux columns: USER, PID, %CPU, %MEM, VSZ, RSS, TTY, STAT, START, TIME, COMMAND. Use this to check if a service is running, find process IDs, monitor resource usage, or verify that a background task started successfully. If no processes match the filter, returns 'No processes found matching filter' instead of an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Optional text pattern to filter processes by name or command line. Only alphanumeric characters, spaces, dots, dashes, and underscores are allowed (max 100 characters). Special characters are rejected to prevent shell injection. Examples: `node`, `python3`, `my-app`, `nginx`. Omit this parameter to list all processes. |