samyyc.dev
LOC::Macau, China

..UTC+8

samyyc.dev

-- BPM

Sun Dec 28 2025

witr - A tiny command-line tool for showing what's using what

#125

/

samyyc

/

99 words

/

Updated 341 days ago

/

[中文]

Found it in my GitHub recommendations. It's a simple command-line tool for showing what's occupying a port and PID info.

Honestly, it's pretty useful. Sometimes I forget how to type lsof, and it also supports PID and process name lookups.

pranshuparmar/witr: Why is this running?

witr

Installation

Just use the recommended install script:

curl -fsSL https://raw.githubusercontent.com/pranshuparmar/witr/main/install.sh | bash

Usage

Show process names:

witr node
witr nginx

Show a port:

witr --port 5000

Show a PID:

witr --pid 14233

The usage above is current as of the last update to this post.