My implementation for the System Monitor Project in the Object Oriented Programming Course of the Udacity C++ Nanodegree Program.
The goal of this project is to create a Linux based System Monitor program, much like the widely used htop program seen below:
You can install htop as a reference using the following command:
sudo apt-get install htop
My implementation can be seen below:
ncurses is a library that facilitates text-based graphical output in the terminal. This project relies on ncurses for display output.
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/djhanove/CppND-System-Monitor-Project-Updated.git
-
Build the project:
make build
-
Run the resulting executable:
./build/monitor