Skip to content

wusher/tsunami

Repository files navigation

Tsunami Logo

Tsunami

CI License: MIT

Kill processes listening on ports.

Install

Pre-built Binaries

Download from GitHub Releases for your platform:

  • Linux (amd64, arm64)
  • macOS (amd64, arm64)

Go Install

go install github.com/wusher/tsunami/cmd/tsunami@latest

Build from Source

go build -o tsunami ./cmd/tsunami/

Usage

# Interactive TUI - browse and kill
tsunami

# Kill process on port 3000
tsunami 3000 -f

# Kill multiple ports
tsunami 3000 8080 5432 -f

# List listening ports
tsunami -l

# Send specific signal
tsunami 3000 -s KILL

Flags

Flag Short Description
--force -f Skip confirmation prompt
--signal -s Signal to send (TERM, KILL, INT)
--list -l List listening ports
--quiet -q Suppress output except errors
--dry-run -n Show what would be killed
--timeout -t Escalation timeout (default: 2s)

TUI Controls

Key Action
Type Filter list
Up/Down Navigate
Enter Select to kill
Esc Quit

Platform Support

  • macOS (via lsof)
  • Linux (via /proc/net/tcp)

Documentation

Full documentation: wusher.github.io/tsunami

License

MIT

About

https://wusher.github.io/tsunami/

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages