Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1.2 KB

README.md

File metadata and controls

27 lines (16 loc) · 1.2 KB

System Monitor

This project is a system monitor similar to htop. It is a command-line tool that displays the system's CPU and memory utilization, as well as a list of processes. The project is written in C++ and uses the ncurses library to display the information in the terminal.

image

Dependencies

Install the ncurses library within your Linux environment: sudo apt install libncurses5-dev libncursesw5-dev

You also need cmake and make installed

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

Get Started

  1. Clone the project repository

  2. Build the project: make build

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