Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 1.55 KB

README.md

File metadata and controls

52 lines (32 loc) · 1.55 KB

ND-Cpp-System-Monitor

A terminal based system monitor using ncurses library


Description:

A C++17 project which displays system information such as OS, kernel, memory utilization, processes, etc. in a terminal. This project is my submission for the Udacity Project which requires writing C++ code to parse files and directories in Linux proc and etc directory and display data on a terminal, similar to the widely used htop application.

This project uses the ncurses library, which facilitates text-based graphical output in the terminal.

This project runs ONLY in Linux environment, when compiled with -std=c++17 command-line flag, since it uses std::filesystem. On Windows Subsystem for Linux, it gives a segmentation fault.


Cloning:

Clone this project to a local destination using git: git clone https://github.com/CybernetHacker14/ND-Cpp-System-Monitor.git


Pre-requisites:

The following libraries need to be installed.

  1. CMake
  2. ncurses

Install ncurses within your own Linux environment by running:
sudo apt install libncurses5-dev libncursesw5-dev

You can also use Visual Studio Code as an IDE.


Instructions:

  1. Open a terminal window in the project directory, and build the project using : make build
  2. Run the resulting executable: ./build/monitor

Screenshot:

Screenshot