Menu

Why I Replaced lsof with a Rust-Based "Sniper" Button
📰

Why I Replaced lsof with a Rust-Based "Sniper" Button

DEV Community·Arpit Sarang·6 months ago
#JB0JK3fh
#tauri#rust#devtool#software#system
Reading 0:00
15s threshold

Every developer has a "favorite" annoying workflow. Mine was hunting down zombie processes that refused to release my local dev ports.

If you've ever typed this into your terminal for the 5th time in an hour, you know the pain:

lsof -i :3000 kill -9 <PID>

Enter fullscreen mode

Exit fullscreen mode

I decided to automate this friction away by building Recoil—a tactical system monitor for macOS that lets you "snipe" these processes directly from your system tray.

The Goal: High Performance, Low Overhead

When building a system utility that stays open all day, Electron was out of the question.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.