vtop is a system monitoring tool using GTK to visualize CPU, disk, and RAM/swap usage and processes. It provides a real-time graphical representation of system performance.
The project tree looks like this:
.
|-- Makefile
|-- README.md
|-- src
| |-- cpu.c
| |-- cpu.h
| |-- disk.c
| |-- disk.h
| |-- main.c
| |-- process.c
| |-- process.h
| |-- ram_swap.c
| |-- ram_swap.h
To set up the required GTK development libraries for building and running vtop on Debian-based systems (such as Ubuntu), follow these steps:
-
Open a terminal window.
-
Update the package lists for upgrades and new installations:
sudo apt update
-
Install GTK development libraries:
sudo apt install libgtk-3-dev
This installs the necessary GTK development libraries needed to compile and run vtop on your Debian-based system.
To compile the project, use the provided Makefile. Ensure GTK development libraries are installed.
Run make
in the root directory to compile the project.
Execute the compiled vtop
binary to launch the monitoring dashboard.
- Divides the main window into four sections:
- CPU graph
- Disk graph
- RAM/Swap graph
- Process view
- Updates graphs periodically to display real-time system statistics.