The system monitor shows you what’s happening the computer: processes, id, CPU and memory usage. In this project, I wrote object-oriented C++ to build a Linux system monitor similar to the widely used htop application.
ncurses is a library that facilitates text-based graphical output in the terminal. This project relies on ncurses for display output.
Install ncurses within your own Linux environment to run this project: sudo apt install libncurses5-dev libncursesw5-dev
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:
git clone https://github.com/udacity/CppND-System-Monitor-Project-Updated.git -
Build the project:
make build -
Run the resulting executable:
./build/monitor
