Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1.33 KB

README.md

File metadata and controls

27 lines (17 loc) · 1.33 KB

C++ Linux System Monitor - DEMO

System Monitor

About

The system monitor shows you what’s happening the computer: processes, id, CPU and memory usage. In this project, I wrote object-oriented C++ to build a Linux system monitor similar to the widely used htop application.

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 to run this project: 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 [email protected]:UtkarshChaurasia/Linux-System-Monitor.git

  2. Build the project: make build

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