qalarc.com / projects / ram-tracker

RAM Tracker

A project by Qalarc — AI systems studio, Sydney, Australia. Built, shipped and maintained by Qalarc.

GTK4 memory monitor that tells the truth about Linux RAM — zram-compressed accounting, AMD GTT, per-process PSS from smaps_rollup, and glibc malloc_trim — instead of the usual RSS theatre.

Python 3GTK4 / PyGObjectpsutilSQLiteprocfs/sysfs parsing
RAM Tracker screenshot

Most memory monitors lie by omission: they show RSS, which double-counts shared pages and ignores compression, then panic the user about 'free' memory that the kernel is using perfectly well as cache. RAM Tracker was built on a 124 GB zram machine to show what is actually happening: the full /proc/meminfo breakdown, swap that is really a compressed RAM disk (with compression ratios from the kernel's own mm_stat), and AMD iGPU GTT allocations pulled from sysfs.

Per-process views use PSS from smaps_rollup — proportional set size that fairly splits shared libraries — and the process list includes an agent-awareness layer: a token/cost tab reads the local AI coding tooling's SQLite database to show what your AI assistants are actually costing you per session.

It also feeds gmux: a live agent-feed JSON endpoint lets the terminal multiplexer display memory pressure alongside each agent pane.

Capabilities

Tags

#memory#linux#gtk4#zram#monitoring#python#psutil

Status: active · First built: 2026-08-31 · Last updated: 2026-08-31