Have you ever typed top, stared at the wall of numbers, and felt like you were reading the Matrix without the cool sunglasses?
Same. Welcome to btop vs htop, the showdown that has ended more lunch-break friendships than tabs vs spaces. (Fine, almost as many.) I lived with both. Here's the tale of the tape.
In this corner: htop, the friend in sweatpants
htop has been the friendly face of process monitoring since the mid-2000s. It shows a bar for every CPU core, bars for memory and swap, and then the process list. You can scroll it, sort it and boss it around without memorising a single secret letter, because the function keys are printed right there along the bottom like a cheat sheet taped to the monitor.
Why it's great:
- It's everywhere. It's in every distro's main repos and already installed on plenty of servers. SSH into a box you've never met and htop is probably already waiting for you.
- It's light. When a server is struggling, the monitor shouldn't be the one breathing hardest.
- It's good at actions. F5 shows the process tree. F6 picks the sort column. F9 sends a signal, which is a polite word for "kill". F4 filters by name. Space tags several processes so you can kill them together, like a very small, very nerdy action film.
- Setup without tears. F2 opens the settings. You can add meters for load, uptime and disk I/O, change the colours, and save it all.
Its one weakness: htop lives in the now. A CPU spike ten seconds ago? Never heard of it. It has the memory of a goldfish with a busy schedule.
In this corner: btop, the one in a tux
(Not that Tux. I'm right here.)
btop is the C++ successor to bashtop and bpytop, and it came to perform. Open it and your terminal turns into a mission-control dashboard: CPU graphs over time, memory, disks with free space and I/O, network up and down, and the process list. Newer versions add GPU panels too, where your hardware plays along.
Why it's great:
- History you can see. The graphs remember the last stretch of time, so the spike that's already gone is still right there, sulking. Great for "why did the fan just take off?"
- Disks and network on the same screen. htop can add I/O meters. btop shows them properly, per disk and per interface, straight out of the box.
- The mouse works! Click a process, click a column to sort, click a panel. It feels like an app that wandered into your terminal and decided to stay.
- Themes. Lots, and they're genuinely gorgeous. This matters more than it should at 11 p.m.
What it costs: it's busier on screen and a little hungrier than htop. A modern machine won't notice, but I wouldn't start it on a server that's already wheezing. It's also less likely to be installed already.
btop vs htop: the scorecard
| htop | btop | |
|---|---|---|
| Already installed | Often | Rarely |
| History graphs | No (goldfish) | Yes |
| Disk and network panels | Optional meters | Built in |
| Mouse | Basic | Full |
| Resource use | Featherweight | Lightweight, ish |
| Best at | Doing things to processes | Seeing what's going on |
And the winner is...
Both! I know, I know. Boo. Throw your tomatoes.
On servers, htop wins. It's there, it's light, and the keys work the same on every box you'll ever log into. When something's on fire, you want the fire extinguisher you know, not the one with RGB lighting.
On your own desktop or homelab, btop wins. Leave it open in a corner of the screen and you'll spot weird stuff at a glance. Bonus: people walk past, see the graphs and assume you're hacking the Pentagon.
And keep plain old top in your back pocket. It's on every Linux system ever built, including the rescue shell at 2 a.m. where neither of these two showed up.
sudo apt install htop btop # Debian, Ubuntu
sudo dnf install htop btop # Fedora
Run both for a week. Your hands will pick the winner before your brain does.
Linux
More like this
Linux
entr and watch: Make Your Terminal Rerun Things So You Don't Have To
Save, switch window, press up, press Enter, squint. Save, switch window, press up... Stop. entr reruns your command whenever a file changes, and watch reruns it on a timer. Two tiny tools, a thousand saved keystrokes.
Linux
ripgrep: grep, But It Drank Three Espressos and Read Your .gitignore
grep is a legend. It's also happy to search all 80,000 files in node_modules while you wait. ripgrep searches only what matters, very quickly, with sensible defaults. The flags worth knowing, and when old grep still wins.
Linux
Linux Terminal Toys (and the Surprisingly Useful Tools Hiding Among Them)
A talking cow, a train that punishes typos, the Matrix in your terminal, and hidden among them, six genuinely useful tools you'll keep long after the novelty wears off. A toy box for Linux nerds.