Show HN: PortScout – TUI to find and kill processes occupying your ports
PortScout is a terminal-based UI tool designed to monitor network connections and manage processes using specific ports. It allows users to view, filter, sort, and kill processes directly from an interactive interface. The tool supports features like live refresh, process grouping, and detailed process inspection, with installation options via Homebrew, source, or manual build.
- ▪PortScout is built using the Bubble Tea framework and provides a TUI for managing port-occupying processes.
- ▪Users can install PortScout via Homebrew, Go install, or by building from source on macOS with Apple Silicon.
- ▪The tool enables filtering, sorting, freezing refresh, killing processes, and viewing detailed process information such as CPU and memory usage.
- ▪Elevated permissions may be required to resolve certain process names, suggesting use with sudo in such cases.
- ▪PortScout includes keybindings for navigation, process killing, grouping by PID, and toggling sort options.
Opening excerpt (first ~120 words) tap to expand
PortScout A terminal UI tool for monitoring network connections and managing the processes behind them. Built with Bubble Tea. Install Homebrew (macOS, Apple Silicon) brew tap abhaikollara/tap brew install portscout From source go install github.com/abhaikollara/portscout@latest Manual git clone https://github.com/abhaikollara/portscout.git cd portscout make install Usage portscout # Launch the interactive TUI portscout 8080 # Show process details for port 8080 portscout -k 8080 # Kill the process on port 8080 portscout --version # Print version Note: Some connections require elevated permissions to resolve process names. Run with sudo if you see unknown processes.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.