Lurker News
Hi HN,

I built a small Linux CLI tool called witr (Why Is This Running?).
The idea came from a situation most of us have hit: you log into a machine, see a process or port running, and immediately wonder why it exists, who started it, and what is keeping it alive right now.
witr traces a process, service, or port back to its origin and responsibility chain and explains it in a way that’s quick to read, especially when you’re debugging under pressure.
This is v0.1.0. It’s intentionally small and focused. Feedback, criticism, and edge cases are very welcome.
Repo: https://github.com/pranshuparmar/witr

Comments (105) 32 threads

Show all comments

Showing thread 3 of 32

vzaliva4 replies#
Sounds like something I could use, but installing a binary via `curl` doesn't sit right with me. Next problem you have is "explain how this thing was installed on my system" followed "is it up to date (including security patches).

I hope they have deb package or snap some day.

fouc1 reply#
new utility command coming soon! wdtci - "what does this curl install?"
fph1 reply#
Depends on dtps - "does this program stop".
Msurrow#
Depends on environment variable P=NP
klooney#
`systemctl status $pid` will get you a lot
pranshuparmar1 reply#
I understand that installing via `curl` isn’t for everyone, but since this is the first release, I intentionally kept it simple. Now that the tool is gaining some traction, I can definitely plan proper packages for future releases. Thanks for your inputs.
jamescun1 reply#
Have a look at https://goreleaser.com/ , I've used it a bunch to automate releases of Go-based projects, locally and with GitHub Actions.
pranshuparmar#
Thanks a lot for the input, I ended up using it.
pranshuparmar#
Just to update, witr is currently available on brew and AUR. deb, rpm and apk packages are also available in the release, and can be run directly via nix without installation.