Idea Temple

#rust

Posts tagged #rust.

proc: what's on that port, why, and make it stop

k3rt@k3rt#cli#rust#devtoolsShipped

A single-binary CLI for the moment something is squatting on :3000. Targets are ports (:3000), PIDs, names or paths. proc why :3000 traces the chain of parent processes with their uptimes, so a stale tmux session is easy to spot; proc free :3000 stops the owner and waits until the port is actually free. It asks before killing anything and has --dry-run. Rust, MIT, on macOS, Linux and Windows.

Made by Yazeed Al Oyoun (yazeedaloyoun on HN).
HN: news.ycombinator.com/item?id=50239041

proc