minitop is a lightweight Linux console utility that displays key system metrics in a clear, minimal format. Think of it as a "mini-top" that shows only the essentials: CPU usage, memory, storage, and system uptime.
-
Clear display of essential metrics:
- CPU
- RAM
- Storage
- Systime
-
Supports two display modes:
- Percentages (
%) - Absolute values (e.g., 8/16 GB)
- Percentages (
-
Configurable update interval
-
Interactive keyboard controls
Build with CMake:
git clone https://github.com/ugolnikovE/minitop
cd minitop
cmake -Bbuild
cmake --build buildNote:
minitopcurrently does not install to/usr/binor similar.
./minitop [OPTIONS]Example Output:
┌───────┬───────┐
│Metric │Value │
├───────┼───────┤
│CPU │0.60 % │
│RAM │17.36 %│
│Storage│0.46 % │
├───────┼───────┤
│Systime│17403 │
└───────┴───────┘
-h, --help Show help message
-p, --percents Display metrics in percentages
-v, --values Display metrics in absolute values
-i, --interval Set update interval in seconds
q Quit the program
1 Switch to percentage display mode
2 Switch to absolute value display mode
This project was created for educational purposes to:
- Practice teamwork in software development
- Learn C++
- Create a wrapper for a custom C library for monitoring system resources (sysload)
This project is licensed under the MIT License — see LICENSE for details.