qkill
Quickly kill processes. Cross-platform. Interactive substring search.
Install
go install github.com/ogpourya/qkill@latest
Usage
# interactive TUI
qkill
# kill by pid
qkill 1337
# kill by name
qkill chrome
# kill by port
qkill :8080
# force kill (SIGKILL)
qkill -f 1337 chrome :3000
Interactive TUI
Processes are displayed in bordered boxes sorted by RAM usage (descending). Each box shows PID, memory, process name, and the command line with shell syntax highlighting.
Long command lines are wrapped to fit the terminal width.
Keys
| key |
action |
| type |
substring search (name, pid, cmdline) |
↑ ↓ |
navigate |
enter |
kill (SIGTERM) — if process still alive after 3s, prompts for force kill |
ctrl+c |
quit |
esc |
clear query / quit (when query empty) |
Kill flow
- Press
enter on a process → sends SIGTERM
- If the process is already dead → exits immediately
- Waits 3 seconds, then checks if the process still exists
- If still alive → prompts
process X still running — force kill? (y/n)
y / enter → sends SIGKILL and exits
n / esc → exits without killing
License
MIT