witr is a Linux command-line tool that explains why processes are running by building causal chains from PIDs. It answers questions like "why is this running?" by tracing process ancestry through systemd, Docker, PM2, and other supervisors. The tool supports queries by process name, PID, or port number, and provides human-readable output showing how processes started, what's keeping them running, and their context (working directory, Git repo, container info). It's designed for debugging and incident response, offering multiple output formats including short summaries, process trees, and JSON.

7m read timeFrom github.com
Post cover image
Table of contents
1. Purpose2. Goals3. Core Concept4. Supported Targets5. Output Behavior6. Flags & Options7. Example Outputs8. Installation9. Platform Support10. Success Criteria11. AI Assistance Disclaimer
2 Comments

Sort: