/cpp-system-monitor

Linux System Monitor | basic htop system | C++

Primary LanguageC++MIT LicenseMIT

C++ System Monitor

This repository contains the code for a System Monitor Project in the Object Oriented Programming Course of the Udacity C++ Nanodegree Program. The final result look slike this:

System Monitor

ncurses

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:

sudo apt install libncurses5-dev libncursesw5-dev

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

Instructions

  1. Clone the project repository: git clone https://github.com/ImmanuelXIV/cpp-system-monitor.git
  2. Build the project: make build
  3. Run the resulting executable: ./build/monitor
  4. Watch how your system behaves