Technical Beauty ■ Episode 14
In 2004,
Hisham Muhammad
looked at top and saw a tool from 1984 pretending the
terminal was still a teletype. No colours. No scrolling. No mouse.
Process IDs memorised and typed by hand.
His solution was straightforward: treat the terminal as what it had become. An interactive canvas.
One Tool, Five Workflows
htop did not invent process monitoring. It consolidated
an entire workflow into a single binary:
top, but scrollable, coloured, and interactiveps aux | grep, but with live filteringkill -9 PID, but with F9 and a menurenice, but with a single keypresslsof, but integrated into the tree view
You no longer memorised PIDs. You pointed at them. In a terminal. In 2004. Rather ahead of the curve, that.
The Numbers
12,000 lines of C. Open source. Runs on FreeBSD, Linux, macOS, OpenBSD, Solaris. Ships in every major distribution. Zero configuration required. Zero dependencies beyond ncurses.
top still ships by default. htop still
gets installed first. Some tools earn their place not by being
mandatory, but by being indispensable.
The Handover
In 2020, after sixteen years of solo maintenance, Hisham stepped back. The community forked amicably. The htop-dev team continues the legacy.
This is a rare thing in open source: a healthy transition. The maintainer was not abandoned, not burned out and left behind. He handed over, and the project continued. One might call that a design endorsement for the codebase itself. Sixteen years of solo maintenance, and the code was clean enough for strangers to pick up.