This tool developed in C++ can be seen as an equivalent to the htop command line utility, which allows a user to interactively monitor their computer's system resources in real-time.
ncurses is a library that facilitates text-based graphical output in the terminal. This project relies on ncurses for display output.
You need to install ncurses within your own Linux environment: sudo apt install libncurses5-dev libncursesw5-dev
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:
$ git clone https://github.com/MRLintern/System-Monitor
-
Build the project:
$ make build
-
Run the resulting executable:
$./build/monitor