PitchHut logo
Monitor and manage network connections with an intuitive terminal interface.
Pitch

PortScout is a terminal UI tool designed to effortlessly monitor network connections and manage the underlying processes. With features like live connection tables, search and filter capabilities, and detailed process views, it provides users with powerful insights into their network activity. Easy to install and use, PortScout enhances network management efficiency.

Description

PortScout

PortScout is a terminal-based User Interface (TUI) tool designed to monitor network connections and manage the associated processes. Developed using the Bubble Tea framework, PortScout offers a streamlined approach for users to gain insights into their network activity.

Features

  • Live Connection Monitor: Displays a real-time table of network connections, showcasing details such as port, process name, Process ID (PID), protocol (TCP/UDP), connection status, and remote address with automatic updates every second.
  • Search and Filter Capabilities: Quickly filter results by any field using the / key, allowing for partial matches. For example, typing node highlights all Node.js connections, while 8080 isolates results on that specific port.
  • Detailed Process Information: By selecting a row and hitting Enter, users can access comprehensive details about the process including the command line, user information, CPU/memory usage, file descriptors, current working directory, and start time.
  • Group by PID Functionality: Users can organize connections by their respective processes using the g key, revealing the count of connections per process for improved workflow management.
  • Process Termination: The ability to terminate any process directly from PortScout by selecting the process and confirming with the k key enhances user control over network management.
  • Dynamic Sorting Options: Users can sort the displayed connections by various columns—simply press s to cycle through sort options and S to reverse the sorting order.
  • Pause Auto-Refresh: To examine specific snapshots of data, the f key can be leveraged to temporarily freeze the display, preventing data from updating automatically.

Keybindings

KeyAction
q / Ctrl+CQuit the application
/Initiate filtering by various criteria
EnterConfirm filter or view process details
EscExit filter mode or clear filter
kKill the selected process with confirmation
sCycle through sort columns
SReverse the sort direction
fFreeze or unfreeze the auto-refresh
gToggle group-by-PID view
Up / DownNavigate through rows

Tech Stack

PortScout utilizes a variety of powerful libraries to deliver its functionality:

For those looking for an efficient solution to monitor and manage network connections, PortScout provides an intuitive and effective interface.

0 comments

No comments yet.

Sign in to be the first to comment.