Based on
- Pure C++
- Some C++17 new features for file I/O
- Built with Cmake
- ncurses for TUI
-
Linux OS
-
Cmake >= Version 2.6, run below to install
sudo apt-get update sudo apt-get install cmake
-
ncurses: text-based graphical output library, run
sudo apt install libncurses5-dev libncursesw5-dev
to install -
C++ compiler supporting C++17;
git clone https://github.com/454270186/linux_system_monitor.git
make build
./build/monitor
- Stackoverflow: How to calculate system memory usage
- Stackoverflow: Accurate calculation of CPU usage given in percentage in Linux?
- Stackoverflow: How do I get the total CPU usage
- Linux mannual page: proc(5)