Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
portop
command
Command portop shows the processes using TCP and UDP ports.
|
Command portop shows the processes using TCP and UDP ports. |
|
internal
|
|
|
app
Package app collects sockets and enriches them with process metadata.
|
Package app collects sockets and enriches them with process metadata. |
|
baseline
Package baseline implements portop's drift-detection feature: save a snapshot of which ports are currently listening, then later diff the live system against it to see what changed.
|
Package baseline implements portop's drift-detection feature: save a snapshot of which ports are currently listening, then later diff the live system against it to see what changed. |
|
cli
Package cli parses flags and runs the TUI, web server, or snapshot commands.
|
Package cli parses flags and runs the TUI, web server, or snapshot commands. |
|
compose
Package compose audits Docker Compose published ports against the sockets currently listening on the host.
|
Package compose audits Docker Compose published ports against the sockets currently listening on the host. |
|
config
Package config loads and saves portop settings.
|
Package config loads and saves portop settings. |
|
dnscache
Package dnscache provides a caching, non-blocking reverse DNS resolver suitable for calling from a UI render loop: a lookup that has not completed yet returns immediately with ok=false and completes in the background, so the UI never stalls on a slow or dead resolver.
|
Package dnscache provides a caching, non-blocking reverse DNS resolver suitable for calling from a UI render loop: a lookup that has not completed yet returns immediately with ok=false and completes in the background, so the UI never stalls on a slow or dead resolver. |
|
docker
Package docker reads container metadata from cgroups and the Docker socket.
|
Package docker reads container metadata from cgroups and the Docker socket. |
|
firewall
Package firewall reports whether the host firewall lets traffic reach a listening port.
|
Package firewall reports whether the host firewall lets traffic reach a listening port. |
|
hostcmd
Package hostcmd runs system inspection tools with a bounded runtime and locale-independent output.
|
Package hostcmd runs system inspection tools with a bounded runtime and locale-independent output. |
|
netutil
Package netutil decodes the hex-encoded address/port fields used by Linux's /proc/net/{tcp,tcp6,udp,udp6} pseudo-files.
|
Package netutil decodes the hex-encoded address/port fields used by Linux's /proc/net/{tcp,tcp6,udp,udp6} pseudo-files. |
|
notify
Package notify sends best-effort desktop notifications (used by portop's "alert on new listening port" feature).
|
Package notify sends best-effort desktop notifications (used by portop's "alert on new listening port" feature). |
|
openurl
Package openurl opens a URL in the user's default browser, on whichever OS portop happens to be running on.
|
Package openurl opens a URL in the user's default browser, on whichever OS portop happens to be running on. |
|
procctl
Package procctl sends termination signals to processes by PID, for portop's "k" (kill) action.
|
Package procctl sends termination signals to processes by PID, for portop's "k" (kill) action. |
|
procinfo
Package procinfo reads detailed, on-demand information about a single process for the TUI's detail view (Enter on a row): command line, executable path, working directory, owning user, memory usage and start time.
|
Package procinfo reads detailed, on-demand information about a single process for the TUI's detail view (Enter on a row): command line, executable path, working directory, owning user, memory usage and start time. |
|
scanner
Package scanner enumerates TCP/UDP sockets and their owning processes.
|
Package scanner enumerates TCP/UDP sockets and their owning processes. |
|
services
Package services resolves well-known port numbers to service names (22 -> ssh, 443 -> https) by parsing the system's /etc/services file, so portop can hint at what a port is for even when the owning process can't be resolved (e.g.
|
Package services resolves well-known port numbers to service names (22 -> ssh, 443 -> https) by parsing the system's /etc/services file, so portop can hint at what a port is for even when the owning process can't be resolved (e.g. |
|
systemdinfo
Package systemdinfo associates a process with the systemd unit that owns it, by inspecting the process's cgroup membership.
|
Package systemdinfo associates a process with the systemd unit that owns it, by inspecting the process's cgroup membership. |
|
terminaltext
Package terminaltext makes untrusted text safe to render in a terminal.
|
Package terminaltext makes untrusted text safe to render in a terminal. |
|
traffic
Package traffic reads how many bytes each TCP connection has sent and received, so portop can show per-connection throughput.
|
Package traffic reads how many bytes each TCP connection has sent and received, so portop can show per-connection throughput. |
|
ui
Package ui implements portop's Bubble Tea terminal UI: a live, sortable, filterable table of TCP/UDP sockets enriched with process, systemd and Docker context.
|
Package ui implements portop's Bubble Tea terminal UI: a live, sortable, filterable table of TCP/UDP sockets enriched with process, systemd and Docker context. |
|
userfile
Package userfile writes portop's per-user files (config.yml, the baseline) so they stay usable by the user who owns them.
|
Package userfile writes portop's per-user files (config.yml, the baseline) so they stay usable by the user who owns them. |
Click to show internal directories.
Click to hide internal directories.

