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:
build
compiles the source code and generates an executableformat
applies ClangFormat to style the source codedebug
compiles the source code and generates an executable, including debugging symbolsclean
deletes thebuild/
directory, including all of the build artifacts
-
Clone the project repository
-
Build the project:
make build
-
Run the resulting executable:
./build/monitor