Star system · Systems & networks
MyTop
A clone of the Linux top command in C and ncurses: live CPU, memory, swap and per-process usage read from /proc.
- Orbit period
- Dec 2024 – Dec 2024
- Role
- Author
- Crew
- Solo flight
- Status
- archived
- Last signal
- 2026-02-09 · 0 ★
Spectral lines
Incoming signal
Transcript (final screen)
demo:MyTop$ ./my_top demo:MyTop$ ls *.c | wc -l 22 demo:MyTop$
MyTop is my own version of top, the Linux command that shows what your computer is busy with: how long it has been running, how loaded it is, how much memory is used, and every running program with its share of the processor, refreshed live.
How it works
Linux exposes all of this as small text files that the kernel writes on the fly. MyTop reads them, sorts the programs by how much processor they use, and draws the table in the terminal. A bonus version adds top’s options to show one user’s programs, change the refresh rate or stop after a few updates.