TL;DR
Three lines, in plain English. If a sentence would fit in a man page, it was rewritten.
17.4 The page cache
- Keeps file data in RAM after
it has been read or written.
- Shrinks by itself when apps
need more: nothing to free.
Understand Linux metrics in your terminal.
Short answers, backed by your machine’s live state.
A LINUX COMPANION / IN YOUR TERMINAL
Get a practical answer without leaving the terminal. Read a short explanation, compare it with your machine, then go deeper when you need to.
A LINUX COMPANION FOR THE TERMINAL
The same card on the command line, in the interactive mode, and for an AI agent over MCP.
alice@laptop ~ · atfq freeLINUX$ atfq free 17.1 free vs available TL;DR - free: memory nobody is using at all, not even as cache. - available: what your apps can still get without swapping. - Look at available, not free: the available column of the Mem: line in free -h. free -h On your machine RAM 10.5 GiB available of 15.5 GiB (68%) · 1.1 GiB completely free Cache 7.5 GiB in buff/cache, 604.0 MiB of it shared Swap 256.0 MiB used of 8.0 GiB · swappiness 60 Pitfalls - "free" near zero is normal: Linux fills spare RAM with page cache. - A little swap in use is not a problem by itself. What hurts is constant swapping: watch the si and so columns of vmstat 1. Deep dive: 3 questions. Read them with atfq 17.1 --why $
The short answer, your machine’s numbers, the pitfalls — and the deep dive one flag away.
$ ATFQ 17.1 --WHY
Cards are organised like a book, with a flat numbered table of contents. Type a name, an alias, a chapter number, or the error message you just got. The first screen solves the problem.
Three lines, in plain English. If a sentence would fit in a man page, it was rewritten.
17.4 The page cache
- Keeps file data in RAM after
it has been read or written.
- Shrinks by itself when apps
need more: nothing to free.
Live probes read /proc, /sys and /etc directly. What’s true here, not in general.
On your machine Arch x86_64, made by Intel Level x86-64-v4: programs built for this level or below run here
The “why”, folded away until you ask. Questions you can open one by one in the TUI.
▾ Why do zombies exist at all? ▸ How is "available" calculated? ▸ What is swappiness and when should I change it?
$ ATFQ PROBE
atfq shows commands and reads state. It never runs your commands and never changes the system, so you can point it at a production box.
/proc, /sys, /etcPlus key names in ~/.ssh, never a private key.systemctl, and nothing elseFixed arguments, a 500 ms timeout.$ ATFQ "EXEC FORMAT ERROR"
Typos are forgiven, and error messages work as queries.
"exec format error"23.2 ELF and “command not found”memroyNo exact match, showing Memorydegradedsystemd units that failed5.1a card, by chapter numberask disk --redacta prompt to paste into an AI, without your hostname$ ATFQ TUI
Contents on the left, the page on the right. vim keys, counts included, and the mouse when you want it.
IN PRACTICE / THE EVIDENCE
Choose a target to read what happened: the problem, the finding and the result. Each story names its evidence and the scope of its validation.
$ ATFQ --VERSION
Linux only. The prebuilt binaries are static: no particular libc needed, Alpine included. Each archive is signed and lists its SHA-256 sum.
x86-64 shown; use aarch64 on ARM.
curl -fLO https://github.com/devutils-org/atfq/releases/latest/download/atfq-x86_64-linux.tar.gz gh attestation verify atfq-x86_64-linux.tar.gz --repo devutils-org/atfq tar xzf atfq-x86_64-linux.tar.gz mkdir -p ~/.local/bin install -m 755 atfq-x86_64-linux/atfq ~/.local/bin/
With a Rust toolchain.
git clone https://github.com/devutils-org/atfq cd atfq cargo install --path .
Five read-only MCP tools over stdio.
claude mcp add atfq -- atfq mcp