/System-Monitor

This is my submission for the Linux System Monitor project for Course 2 of the Udacity C++ Nanodegree Program. I learned how to use classes and polymorphism, along with parsing filesa, some rudimentary ncurses styling, and capturing shell command output to create a simple system monitor.

Primary LanguageC++MIT LicenseMIT

System Monitor

This is my submission for the Linux System Monitor project for Course 2 of the Udacity C++ Nanodegree Program

This project was built and tested on Fedora, and is only meant to run on Linux systems as per the project prompt.

System Monitor

ncurses

ncurses is a library that facilitates text-based graphical output in the terminal. This project relies on ncurses for display output.

If you are not using the Workspace, install ncurses within your own Linux environment:

On Debian/Ubuntu: sudo apt install libncurses5-dev libncursesw5-dev On RHEL/CentOS/Fedora (newer versions should have it installed already): sudo dnf install libcurses-devel

Make

This project uses Make. The Makefile has four targets:

  • build compiles the source code and generates an executable
  • format applies ClangFormat to style the source code
  • debug compiles the source code and generates an executable, including debugging symbols
  • clean deletes the build/ directory, including all of the build artifacts