This project is a system monitor similar to htop. It is a command-line tool that displays the system's CPU and memory utilization, as well as a list of processes. The project is written in C++ and uses the ncurses library to display the information in the terminal.
Install the ncurses library within your Linux environment: sudo apt install libncurses5-dev libncursesw5-dev
You also need cmake and make installed
This project uses Make. The Makefile has four targets:
buildcompiles the source code and generates an executableformatapplies ClangFormat to style the source codedebugcompiles the source code and generates an executable, including debugging symbolscleandeletes thebuild/directory, including all of the build artifacts
-
Clone the project repository
-
Build the project:
make build -
Run the resulting executable:
./build/monitor
