Skip to main content
Glama

prockill

Terminate, suspend, or resume system processes by PID or port number. Supports tree kills, signal selection, zombie process handling, and dry-run previews for safe process management.

Instructions

Kills, suspends, or resumes a process by PID or port number. Supports tree kill (process + all children), signal selection (kill/term/hup/int/stop/cont). Use signal=stop to suspend and signal=cont to resume a process. On Linux, can detect and handle zombie processes by signaling their parent. Use dry_run=true to preview which processes would be affected. Safety: refuses to target PID 0/1 or the agent-tool process itself.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pidNoProcess ID to kill
portNoKill process(es) using this port number
signalNoSignal to send: kill (default), term, hup, int, stop (suspend), cont (resume). Windows uses NtSuspendProcess/NtResumeProcess for stop/cont
treeNoKill the process and all its child processes (tree kill). Default: false
include_zombiesNoLinux only: send SIGCHLD to parent of zombie processes to trigger reaping. Default: false
dry_runNoPreview which processes would be killed without actually killing them. Default: false

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/knewstimek/agent-tool'

If you have feedback or need assistance with the MCP directory API, please join our Discord server