Show HN: Blitz – Process management CLI that doesn't suck

vrox1 pts0 comments

GitHub - hunzo1/Blitz · GitHub

/" data-turbo-transient="true" />

Skip to content

Search/

Sign in<br>Sign upAppearance settings

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

hunzo1

Blitz

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

main

BranchesTags

Go to file

CodeOpen more actions menu

Latest commit

History<br>1 Commit<br>1 Commit

Folders and files<br>NameNameLast commit message<br>Last commit date<br>README.md

README.md

blitz.py

blitz.py

setup.py

setup.py

View all files

Repository files navigation

BLITZ

Kill processes without the pain.

Tired of chaining ps aux | grep | awk | xargs kill? Tired of not knowing which process is hogging your port? Tired of manually confirming kills one by one?

BLITZ does it all in one command. Fast. Safe. Beautiful.

Install

git clone https://github.com/hunzo1/blitz.git<br>cd blitz<br>pip install -e .

On Termux? Install psutil first:

pkg install python-psutil -y<br>git clone https://github.com/hunzo1/blitz.git<br>cd blitz<br>pip install -e .

Now bz works from anywhere.

Usage

bz # Show all processes (readable format)<br>bz top # Top 10 processes by memory<br>bz kill chrome # Kill all chrome (asks before killing)<br>bz kill chrome -f # Force kill without asking<br>bz port 8080 # Find what's using port 8080<br>bz watch java # Watch a process in real-time<br>bz info 1234 # Full details on process ID 1234<br>bz tree # See process family tree<br>bz stats # System CPU, RAM, disk stats

Why BLITZ?

Safe. Won't let you nuke critical processes. Always asks before killing.

Fast. One command instead of five.

Beautiful. Colors, bars, actual readable output instead of walls of text.

Real-time. Watch processes as they happen. No context switching.

The killer feature:

$ bz port 8080<br>Found: node (PID 1234)<br>Kill? [y/N]: y<br>✓ Killed node

Done. No lsof syntax memorization needed.

How it works

BLITZ reads from /proc (Linux) and uses psutil for cross-platform compatibility. It scores processes by CPU/memory usage, formats output with colors, and provides safe kill mechanisms with confirmations.

Requirements

Python 3.7+

psutil (pip or your package manager)

Performance

Lists 100+ processes in Known limitations

Some process info requires elevated privileges (use sudo bz if needed). Sandboxing may limit some system info, but core features work fine everywhere.

BLITZ. Process management, the way it should be.

About<br>No description, website, or topics provided.<br>Resources<br>Readme<br>Activity<br>Stars<br>0 stars<br>Watchers<br>0 watching<br>Forks<br>0 forks<br>Report repository

Releases

Packages

Contributors

Languages

You can’t perform that action at this time.

blitz kill process processes commit install

Related Articles