← Market Pulse · Nov 24
witr: trace from the command line who started a process or portGitHub · created Dec 2025 · original page ↗
Stars / day ×369 → 307

A tool that merges three commands into one is still being reposted a year later

What it isAn open-source command-line tool that finds out who started a given process, port or container, with one command.

Why it grewTwo X accounts, Bearstech and fishjar, reposted it on the same day, for about 75,000 views combined.

What to takeGive the repo a promo image that shows the result in one screen, and reposting accounts will use it as is.

Who built itPranshu Parmar, an independent developer in Pune, IndiaHow it makes moneyFree and open source, only GitHub Sponsors, 2 sponsorsStaying powerA spike: secondary exposure from reposts, with no new release to follow up
Left: the process list in the interactive UI. Right: the report from witr node, with one line spelling out the systemd → PM2 → node startup chain

Positioning and edge

Who it's forBackend and ops people logging into servers to troubleshootThe job it doesOne command to see who launched a process and who is keeping it aliveWhat people did beforeCycling through lsof, ps and systemctl, then matching the output by handThe wedgeAnswers just one question: why is this port or process running

How it differs from the rest

  1. Gives the startup chain and origin directly, so you don't stitch several commands togetherOne line: systemd → PM2 → node, plus the service file path; HN score 526
  2. Read-only, a single binary, installable from the system's official reposInstalls via apt, brew and winget; one HN commenter said no deb package means no production use
  3. You can try it on the website: a simulated server in the browserA simulated Ubuntu with 3 troubleshooting challenges, no install needed; shipped with v0.3.4
  4. Treats AI coding agents as a second kind of user--json, 7 exit codes, a Claude Code plugin; the project's own claims, no user feedback seen

Who else is in the space

Similar productHow it differs from this one
procsA modern ps, about 6,300 starsCan list ports and container names, but doesn't trace who started them
btopA terminal resource monitor, about 35,500 starsShows resource usage and the process tree, but no service file or startup source
port-killerA port-management app, about 5,200 starsClick in the GUI to kill a process; witr is read-only and only explains
lsof / ps / systemctlBuilt-in system commands that everyone hasEach answers half the question; you type three or four and match them up by hand

Can it hold?The code can be copied in a week or two; what can't be taken is the package names in apt and brew and the reputation behind 23,000 stars.

Last two weeks · Stars / day
11-1111-1411-1811-2130711-24

How it happened

  1. Released v0.1.0, Linux only; repo created Dec 20 ↗

  2. Show HN got 526 points and 105 comments; the author says it passed 10,000 stars in 10 days ↗

    Starting point: the Show HN on 2025-12-26, then still v0.1.0 with Linux-only support, 526 points
  3. v0.2.0: community contributors added Windows and FreeBSD, covering four operating systems ↗

  4. v0.3.0 added an interactive UI with four tabs for processes, ports, containers and file locks ↗

  5. Launched on Product Hunt, #7 of the day with about 140 votes; stars the next day: 18,405 ↗

  6. On GitHub Trending for Aug 7–9, peaking at #4 ↗

  7. v0.3.4: browser playground and Claude Code plugin; no release since ↗

    The website isn't a landing page but a simulated Ubuntu: a deploy hits a port conflict, and you use witr to find out who's holding it
  8. Bearstech's X post got 1,248 likes and 52,000 views, and fishjar followed ↗

    The trigger: an X post from the official account of French hosting company Bearstech, a one-line intro plus the repo's promo image, 1,248 likes and 52,000 views (the screenshot is in US Pacific time; in Beijing time it's Nov 23, 02:30)
    That same morning, a long post by the Chinese tech account fishjar, starting from "CPU spikes to 100% and all I see is an unfamiliar PID", 295 likes and 23,000 views
  9. Gained 307 stars in a single day (previous 7-day average: 8.6/day), total 23,376 ↗

In detail

What it's like to use

After installing, run witr --port 8080 (you can also pass a process name, PID, container name or file path) and it returns a report: process, user, start time, restart count, then the key line Why It Exists: systemd → PM2 → node, followed by the service file path, working directory, the Git repo and branch it lives in, and the listening address. Run it with no arguments and you get the interactive UI, with four tabs for processes, ports, containers and file locks. It is read-only throughout and doesn't change the system, which is why people dare run it on production machines.

Why people buy in

There's no new technology here. It stitches together the output of lsof, ps, systemctl and docker ps for you. Verbatim from the Show HN thread: "This kind of thing should have shipped with the system long ago" (fracus); "I was about to rewrite a script I've used for decades, now I'll just use yours" (_mig5). Others weren't convinced: "ps uaxf gives you about the same" and "it answers who started it, not why". So the "why" framing is partly packaging; what really makes people install it is skipping those three or four commands and the manual cross-checking.

The first release was Linux only, and the comments called for macOS and for deb packages ("No deb or rpm package, can't use it in production"). The author added macOS two days later, and 12 days later outside contributors filled in Windows and FreeBSD. It later landed in the official repos of Debian, Ubuntu 26.04 and Homebrew. The README now pushes it mainly for AI coding agents, and so far only the author is saying that.

How much to discount this star spike

The 307 stars recorded on Nov 24 came from two reposts the day before: Bearstech posted in the early hours of Nov 23 Beijing time, and fishjar put out a long Chinese post that morning. Trendshift, which counts in UTC, shows Nov 22 +56 and Nov 23 +285, matching the posting times. The two posts total about 75,000 views for about 340 stars, roughly 4–5 stars per 1,000 views (estimate). The author has no X account, posted nothing and shipped nothing this time; the last release was Oct 4. For most days in the previous four weeks it gained only a few to a dozen stars. After last December's HN, the Product Hunt launch in late July this year and the August GitHub Trending run, it fell back to that level each time, and this will most likely do the same.

Should you follow it

Money: none. Apache-2.0, free, only GitHub Sponsors, and the README lists 2 sponsors. This path won't produce revenue; what you get is name recognition.

Three things worth copying. Topic: find a job you do repeatedly, that others do too, that means stitching together several commands, and name the tool after the question itself. Pacing: ship only the smallest piece first and let the comments decide what to add next. Assets: turn the one screen of output that best explains the product into a promo image and put it on the repo; both posts this time used the image it came with. What to avoid: don't expect stars to turn into money, and don't oversell the tagline; the first wave of doubters on HN went straight for the word "why".

What's distinctive: one report holds the startup chain (Why It Exists), service file path, working directory and Git branch, which used to take three or four commands
The README now has a section aimed at AI coding agents: have them use witr --json instead of a string of lsof/ps/netstat