prasadshingne / CppND-System-Monitor-Project-Updated

System Monitor Project from the Object Oriented Programming Course of the Udacity C++ Nanodegree Program

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CppND-System-Monitor

In this project we build a linux system monitor similar to htop.

Starter code for System Monitor Project in the Object Oriented Programming Course of the Udacity C++ Nanodegree Program.

My Linux System

The Udacity provided workspace is very convenient but I developed this project on my local machine - Ubuntu 20.04.2 LTS.

ncurses

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

Within the Udacity Workspace, .student_bashrc automatically installs ncurses every time you launch the Workspace.

If you are not using the Workspace, 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/udacity/CppND-System-Monitor-Project-Updated.git

  2. Build the project: make build

  3. Run the resulting executable: ./build/monitor

  4. Follow along with the lesson.

  5. Implement the System, Process, and Processor classes, as well as functions within the LinuxParser namespace.

  6. Submit!

Result

My system monitor looks like the following:

About

System Monitor Project from the Object Oriented Programming Course of the Udacity C++ Nanodegree Program

License:MIT License


Languages

Language:C++ 97.3%Language:CMake 1.6%Language:Makefile 1.1%