Skip to content

This project implements a Linux System Monitor similar to htop. It reads and parses various system files to extract the useful information and displays the information in the console using ncurses library.

License

Notifications You must be signed in to change notification settings

sukhrajklair/LinuxSystemMonitor-CPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cpp-System-Monitor

This project implements a Linux System Monitor similar to htop. It reads and parses various system files to extract the useful information and displays the information in the console using ncurses library. System Monitor

Starter Code

Starter code came from this repo: https://github.com/udacity/CppND-System-Monitor-Project-Updated

Dependencies

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

Build and Run Instructions

  1. Clone the project repository: https://github.com/sukhrajklair/LinuxSystemMonitor-CPP.git

  2. Build the project: make build

  3. Run the resulting executable: ./build/monitor Starting System Monitor

About

This project implements a Linux System Monitor similar to htop. It reads and parses various system files to extract the useful information and displays the information in the console using ncurses library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages