Hacker News·4 min read·hard

Show HN: Proc-CLI – An agent-friendly CLI tool for process and port management

Y
yazeedaloyoun
✦AI Summary

Proc-CLI is a new semantic command-line tool designed to simplify process and port management on macOS, Linux, and Windows. It allows users to identify and terminate processes or ports using intuitive, natural-language-like commands.

Why it matters

Efficient process management tools are essential for developers and system administrators to maintain system performance and troubleshoot software conflicts.

✦Dive DeeperCreate a free account to unlock

proc is a semantic CLI tool for process management on macOS, Linux and Windows. Find what's on a port, why it's there, and stop it, in one command you'd guess on the first try.

Ends whatever is listening on port 3000 immediately (SIGKILL). Asks first, and --dry-run previews.

A leading colon means a port: proc acts on whatever is listening on it.

Ends process 1234 immediately, and nothing else.

A number is a PID: that one process and nothing else.

Ends every node process, after listing them and asking.

Anything else is a name, matched against each process's name and full command line, so node also finds nodemon and node server.js .

Ends all of them in one go, after one confirmation.

Commas combine targets. A process matched twice is only acted on once.

Ends only this folder's node processes, not your editor's or another project's.

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
technology
✦

Get smarter about the news

Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.

Create free account

Already have an account? Sign in