proc
proc is a command-line tool for developers who are tired of arcane incantations for simple process tasks.
Why proc?
Every developer knows this pain:
# What's on port 3000?
| |
# Kill it
| | |
# Find all node processes
| |
With proc:
Commands that mean what they say.
Install
|
Or via package managers:
# macOS (Apple Silicon)
&&
# macOS (Intel)
&&
# Linux (x86_64)
&&
# Linux (ARM64)
&&
Commands
All commands accept targets: :port, PID, or name.
Discovery
Lifecycle
Command Reference
| Command | Alias | Description |
|---|---|---|
on |
: |
Port/process lookup (bidirectional) |
ports |
p |
List listening ports |
ps |
l |
List processes |
info |
i |
Detailed process info |
tree |
t |
Process hierarchy |
kill |
k |
Force kill (SIGKILL) |
stop |
s |
Graceful stop (SIGTERM) |
stuck |
x |
Find hung processes |
unstick |
u |
Attempt to recover stuck processes |
Common Options
| Option | Short | Description |
|---|---|---|
--json |
-j |
Output as JSON for scripting |
--verbose |
-v |
Show paths, cwd, and full commands |
--yes |
-y |
Skip confirmation prompts |
--dry-run |
Preview actions without executing | |
--force |
-f |
Force action (e.g., terminate if recovery fails) |
Filter Options
Available on ps and tree:
| Option | Description |
|---|---|
--in <path> |
Filter by working directory |
--path <path> |
Filter by executable path |
--min-cpu <n> |
Only processes using >n% CPU |
--min-mem <n> |
Only processes using >n MB memory |
--status <s> |
Filter by status: running, sleeping, stopped, zombie |
Examples
Port lookup
)
)
)
)
Process discovery
)
Lifecycle management
!
Scripting with JSON
|
Platform Support
| Platform | Status |
|---|---|
| macOS (Apple Silicon) | ✅ |
| macOS (Intel) | ✅ |
| Linux (x86_64) | ✅ |
| Linux (ARM64) | ✅ |
Building from Source
Roadmap
See ROADMAP.md for planned features.
Contributing
Contributions welcome. See CONTRIBUTING.md.
License
MIT - see LICENSE.
proc: Process management for humans.