Skip to content

mateusflorez/portwatcher-tui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PortWatcher

npm version GitHub License: MIT

A terminal UI for monitoring and managing active ports on Linux systems.

  ╔══════════════════════════════════════════════════════════════════╗
  ║    ____            __  _       __      __       __               ║
  ║   / __ \____  ____/ /_| |     / /___ _/ /______/ /_  ___  _____  ║
  ║  / /_/ / __ \/ __/ __/| | /| / / __ `/ __/ ___/ __ \/ _ \/ ___/  ║
  ║ / ____/ /_/ / / / /_  | |/ |/ / /_/ / /_/ /__/ / / /  __/ /      ║
  ║/_/    \____/_/  \__/  |__/|__/\__,_/\__/\___/_/ /_/\___/_/       ║
  ╚══════════════════════════════════════════════════════════════════╝

Features

  • List active ports - Display all listening TCP/UDP ports
  • Kill process by port - Terminate processes using a specific port
  • Real-time monitor - Auto-refresh every 2 seconds

Installation

npm install -g portwatcher

Usage

portwatcher

Permissions

To see all processes and kill privileged ports (< 1024), run with sudo:

sudo portwatcher

Requirements

  • Node.js 18+
  • Linux (uses ss, netstat, lsof, fuser)

Screenshots

main-menu-screenshot port-list-screenshot process-kill-screenshot

License

MIT

About

A terminal UI for monitoring and managing active ports on Linux systems.

Topics

Resources

License

Stars

Watchers

Forks

Contributors