Skip to content

This repository contains code to create a htop like resource monitor for linux made using CPP.

Notifications You must be signed in to change notification settings

AlphaArtrem/cpp-resource-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPP System Monitor

This repository contains code to create a htop like resource monitor for linux made using CPP.

App Screenshot

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/AlphaArtrem/cpp-resource-monitor.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!

About

This repository contains code to create a htop like resource monitor for linux made using CPP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published