witr

ps, top and lsof tell you what is running. witr tells you why.

Point it at a process, PID, port, container or file, and it traces the chain that explains it — systemd, supervisor, shell or cron — plus who started it, when, from where, and the warnings worth knowing.

One static Go binary. Linux, macOS, Windows, FreeBSD. Free and open source.

witr --port 8000 --short
systemd (pid 1) → PM2 v5.3.1: God (pid 1481580) → python (pid 1482060)

The problem witr solves#

Something is running on your machine. There is always a cause, and that cause is usually indirect: a systemd unit that started a supervisor that started your process, inside a container, launched from a shell you closed two days ago.

Existing tools expose state. ps shows the process, lsof shows the socket, docker ps shows the container. Correlating them into an explanation is manual work you redo every time.

witr makes that causality explicit in one command.

No install required
Try witr on a simulated Linux box

A guided tutorial and a free-play sandbox, running in your browser.