Skip to content
VartmorPublic

About

Your system's pulse, right in the terminal — an htop-style Linux process monitor written in Rust with Ratatui. Under construction: phase 1 of 5.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

RataPulse

Your system's pulse, right in the terminal

An htop-style Linux process and system monitor, written in Rust with Ratatui. The goal is not to be feature-packed, but to be understandable on first launch, fast, and safe.

┌ RataPulse ───────────────────────────────────────────────────────────┐
│ CPU 21.0%   RAM 4.2 GB / 16.0 GB   SWAP off   LOAD 0.82   UP 3h 12m  │
│ Search:    Sort: CPU ↓                                               │
└──────────────────────────────────────────────────────────────────────┘
┌──────┬────────────┬───────┬───────┬─────────┬────────────────────────┐
│ PID  │ USER       │ CPU % │ MEM % │ STATUS  │ COMMAND                │
│ 4212 │ muhammed   │  18.4 │   3.1 │ Running │ firefox                │
│ 1934 │ muhammed   │   7.2 │   1.4 │ Sleeping│ code                   │
│  892 │ root       │   1.0 │   0.3 │ Sleeping│ NetworkManager         │
└──────┴────────────┴───────┴───────┴─────────┴────────────────────────┘
 ↑↓ Move  / Search  s Sort  Enter Details  t Term  ? Help  q Quit

Status

Under construction, but usable as a read-only monitor. Phase 2 is done: the table lists real processes with their owner, CPU, memory and status, refreshes every 750 ms, sorts by any column (s), and keeps your cursor on the same process while the list churns underneath it. Sending signals is Phase 4.

See PLAN.md for the full roadmap.

Phase Scope Status
1 TUI skeleton, event loop, safe terminal teardown done
2 Read-only process table, sorting, auto refresh done
3 Search, details popup, help, pause next
4 SIGTERM / SIGKILL behind confirmation planned
5 Tests and packaging planned

Keys

Key Action
↑ ↓ / j k Move selection
PgUp PgDn / g G Jump
/ Search
s Sort menu
Enter Process details
t Send SIGTERM (asks first)
K Send SIGKILL (asks first, louder)
Space Pause auto refresh
r Refresh now
? Help
q / Ctrl-C Quit

Safety

Signals are never sent on a single keypress. Every signal goes through a confirmation dialog, and SIGKILL needs its own key and a stronger warning.

A process is identified by (pid, start_time), not by PID alone. Between two refreshes a PID can be recycled by an unrelated process, so the target is re-checked immediately before the signal is sent. Signals only ever go to a positive PID, so a process group can never be hit by accident.

Build

Requires a recent Rust toolchain and Linux.

cargo run --release
# or
cargo install --path .

License

MIT

About

Your system's pulse, right in the terminal — an htop-style Linux process monitor written in Rust with Ratatui. Under construction: phase 1 of 5.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages