kill_all_processes_code
Kill all processes matching a specified pattern to terminate multiple running instances at once. Supports custom signals and excludes the current process by default.
Instructions
Kill all processes matching a pattern (use with caution)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signal | No | Signal to send (default: SIGTERM) | SIGTERM |
| pattern | Yes | Pattern to match process names or commands | |
| excludeOwn | No | Whether to exclude the current process |