About witr
witr is built around one question: why is this running? Tools such as ps, top, lsof, ss, systemctl and docker ps show what is running, but leave you to work out the cause by comparing their output. witr maps ports, services, containers and files back to a PID and reports what is running, how it started, what keeps it running and what context it belongs to.
You can ask in several ways: by process name, by port with --port, by PID with --pid and --tree for ancestry and children, or by container name across Docker, Podman, Kubernetes and others. The answer is a single human-readable report, JSON for scripts and AI agents, or an interactive dashboard started with the browse command.
witr is open source under Apache-2.0 and written in Go. It ships as a single static binary for Linux, macOS, FreeBSD and Windows, with an install script plus packages for Homebrew, MacPorts, APT, Conda, the AUR, Winget, npm, FreeBSD ports, Chocolatey and Scoop. A browser playground lets you try it on simulated machines first.
Key features
- Maps ports, services, containers and files back to a PID
- Human-readable report, JSON output, or interactive TUI
- Shows a process's ancestry and children as a tree
- Looks up containers across Docker, Podman and Kubernetes
- Single static binary for four operating systems
- Browser playground with guided tutorial and sandbox
Good fit for
- Finding what is holding a port
- Tracing a stray process to its parent service
- Checking why a container is running
- Feeding process context to scripts or AI agents as JSON
witr: questions and answers
- What is witr used for?
- witr is a command-line and terminal-UI tool that traces a process, port, container or file back to the chain of things that started it. It is a good fit for finding what is holding a port, tracing a stray process to its parent service and checking why a container is running.
- Is witr open source?
- Yes. witr is open source under the Apache-2.0 licence. Its source code is on GitHub at pranshuparmar/witr and is written mainly in Go.
- Is witr free?
- Yes. witr is open source, so the software itself is free to use.
- What are some alternatives to witr?
- Similar open-source tools in the Developer Tools category include assh, golangci-lint and Distrobox. SaaS products in the same category include GoLand, act101 and Angular Material Blocks.
- Is witr actively maintained?
- Yes. The most recent commit to witr was on 23 October 2026, and the latest release is v0.3.4, published on 4 October 2026. The project has 23k stars on GitHub, with 330 added in the last 30 days.
Open-source alternatives to witr
See all
assh
Developer Tools
:computer: make your ssh client smarter
MIT★ 3.2k
golangci-lint
Developer Tools
Fast linters runner for Go
GPL-3.0vs SonarQube Cloud★ 20k
Distrobox
Developer Tools
Use any linux distribution inside your terminal. Enable both backward and forward compatib
GPL-3.0★ 13kSomo
Developer Tools
A human-friendly alternative to netstat for socket and port monitoring on Linux and macOS.
MITvs Socket★ 2.6k
Agent Beacon
Developer Tools
The cross-harness, self-improving memory layer for AI agents.
MIT★ 3.5k
Termux
Developer Tools
Termux - a terminal emulator application for Android OS extendible by variety of packages.
OSSvs Termius★ 65k
SaaS alternatives to witr
See all
GoLand
Developer Tools
JetBrains IDE for Go development
SaaS
act101
Developer Tools
Codebase quality and refactoring toolkit for coding agents, with code porting and verification
SaaS
Angular Material Blocks
Developer Tools
Pre-built Angular Material UI blocks, templates and a CLI for rapid interface development
SaaS
Browserwire
Developer Tools
Developer API that gives AI agents and engineers structured, deterministic access to managed sandboxed browsers
SaaS
Codacy
Developer Tools
Automated code quality and security analysis for pull requests
SaaS
CommitFlow
Developer Tools
Automates scheduled GitHub repository maintenance and Markdown changelog updates
SaaS
