gtop is a command-line system monitoring tool for Linux VPS servers. It is a terminal-based system monitoring tool that offers a more visual alternative to the standard top command. It typically displays information such as CPU usage, RAM and swap usage, system load, and running processes. Depending on the gtop version, you can also sort processes by CPU or memory usage.
This guide is tested and prepared for a Linux VPS server running AlmaLinux.
Run the system updates:
sudo dnf update
Run the DNF package manager command to install Node.js:
sudo dnf install -y nodejs
Use npm to install the gtop package globally on your system:
sudo npm install gtop -g
To start gtop, use:
gtop
As a result, you should see the gtop visual interface:
You can sort processes by pressing:
p – by process ID;
c – by CPU usage;
m – by RAM usage.
In short: gtop helps you quickly see which processes are consuming resources on your Linux VPS.
