Skip to main content

Terminal dashboard for ports, processes, and Docker containers

Project description

whosat

A terminal dashboard for ports, processes, and Docker containers.
Like htop but focused on network ports.

PyPI Python License


What is whosat?

whosat is a terminal-based system monitor that answers one question: "who's sitting on that port?"

It scans all listening ports on your machine, groups them by process, enriches them with CPU/memory stats, and displays everything in a rich interactive TUI. Think of it as htop meets netstat — you get a live, searchable, themeable dashboard showing every port, the process behind it, and what resources it's consuming.

Whether you're debugging a port conflict, hunting down a runaway process, or just want a quick overview of what's running on your system — whosat gives you the answer in one command.

whosat screenshot

Install

pip install whosat

With Docker support:

pip install 'whosat[docker]'

Usage

whosat

That's it. whosat will scan your system and display all listening ports and their processes.

Features

  • Port & Process Monitoring — See all listening ports with owning processes, CPU/memory usage, and uptime
  • Memory View — System-wide process memory usage with GPU memory tracking (NVIDIA)
  • Docker Integration — Optional container monitoring alongside system processes
  • Group & Flat Views — Group processes by name or view as a flat list
  • Detail Panel — Expand any process to see full network info, open ports, resource usage, and CPU sparkline
  • Actions — Ping, curl, and kill processes directly from the TUI
  • Live Refresh — Configurable auto-refresh (15s / 30s / 1m / 2m / off)
  • Theming — 6 built-in themes (matrix, nord, dracula, tokyo-night, gruvbox, solarized)
  • Search & Filter — Search by process name, port, or IP; filter by scope (system / docker)
  • Keyboard Driven — Full keyboard navigation
  • Cross-platform — Linux, macOS, and WSL2

Keyboard Shortcuts

Key Action
1 / 2 Switch to Ports / Memory view
Up / Down Navigate rows
Enter Expand/collapse row + open detail panel
Esc Close detail panel / modal / clear search
/ Focus search
R Refresh data
G Toggle group/flat view
K Kill selected process
S Cycle scope (ALL / SYS / DOCKER)
T Cycle theme
Y Copy IP:PORT to clipboard
Q Quit

Configuration

On first run, whosat creates ~/.whosat/config.toml with default categories and settings.

theme = "matrix"
refresh_interval = 30

[[categories]]
name = "python"
icon = "snake"
section = "System"
match = ["python3", "python", "uvicorn", "gunicorn", "celery"]

# Add your own:
# [[port_names]]
# port = 8020
# name = "My App"
# icon = "robot"

Requirements

  • Python 3.10+
  • Linux, macOS, or WSL2
  • Optional: Docker SDK for container monitoring
  • Optional: NVIDIA GPU for GPU memory tracking in memory view

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

whosat-0.1.1.tar.gz (51.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

whosat-0.1.1-py3-none-any.whl (57.4 kB view details)

Uploaded Python 3

File details

Details for the file whosat-0.1.1.tar.gz.

File metadata

  • Download URL: whosat-0.1.1.tar.gz
  • Upload date:
  • Size: 51.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for whosat-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d03a56487b98d9a73bc42b029f4abc11a0138285901a548cb4cf6ce8403d836b
MD5 89a02ba58c364cdd301c09d813390a9d
BLAKE2b-256 407f4795374634f8877de9dad946288e41d1380ae5e428e7980c6a3d9d5c4f0b

See more details on using hashes here.

File details

Details for the file whosat-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: whosat-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 57.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for whosat-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 65710ec674dc1e27cb1b0b6698d41291f6de0c5c57d0d012fa7d5a92333dac7e
MD5 404fdc095756c0fd08abc21cfb1cba37
BLAKE2b-256 d4bb06b20cc14445c4bab6453659594d5b10bf67292209ed988b8e81fe0e538c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page