MCPcopy Index your code
hub / github.com/VG-dev1/flux

github.com/VG-dev1/flux @v0.4.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.4.0 ↗ · + Follow
21 symbols 42 edges 1 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

flux

Search, monitor, and nuke processes with ease, with system resource tracking

demo demo

GitHub Actions Workflow Status Crates.io Version Crates.io License Crates.io Total Downloads

Why flux

Tools like htop and btop cram an overwhelming amount of information onto the screen-columns, graphs, and stats everywhere, making it hard to find the process you actually care about. flux strips away the clutter and focuses on what matters: quickly finding, monitoring, and acting on processes in a clean, readable interface. With live CPU and memory tracking, port-aware process discovery, and intuitive keyboard navigation, flux gives you all the actionable insights without the messy visual noise, letting you manage your system faster and more efficiently.

Features

  • Real-time Resource Monitoring: Track CPU, memory, and disk usage, live
  • Port Discovery: Identify which processes are listening on specific ports
  • Batch Actions: Select multiple processes with Space or use --nuke to batch-kill by filter
  • Easy Navigation: Move around effortlessly with j/k or arrow keys
  • Smart UI: Context-aware coloring for high resource usage

Usage

# See all processes, live (sorted by CPU)
flux

# Pre-filter by process name
flux -f chrome

# Use a different signal (default: SIGKILL)
flux -s SIGTERM

# Sort by memory usage
flux --sort mem

# Sort by PID
flux --sort pid

# Sort by name
flux --sort name

# Sort by disk
flux --sort disk

# See system resource usage (CPU and memory)
flux --resources

# Kill all the processes with a specific name
flux -f chrome --nuke

Options

Flag Description
-f, --filter <name> Pre-filter processes by name
-s, --signal <signal> Signal to send (default: KILL)
--sort <field> Sort by: cpu, mem, pid, name, port
--ports Show only processes with open ports
--port <PORT> Filter by specific port number

Installation

From source

cargo install flux-cli

License

MIT

Core symbols most depended-on inside this repo

push
called by 4
src/main.rs
refresh_processes
called by 3
src/main.rs
refresh_processes_with_ports
called by 3
src/main.rs
truncate
called by 2
src/main.rs
calculate_name_width
called by 2
src/main.rs
sort_processes
called by 2
src/main.rs
kill_processes
called by 2
src/main.rs
get_port_mappings
called by 1
src/main.rs

Shape

Function 14
Class 3
Enum 2
Method 2

Languages

Rust100%

Modules by API surface

src/main.rs21 symbols

For agents

$ claude mcp add flux \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact