Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/deepbiolab/system-monitor.cpp

A Linux system monitor implementation similar to htop, built with C++ and ncurses library. This project demonstrates object-oriented programming principles by providing real-time system metrics including CPU usage, memory consumption, and process information.
https://github.com/deepbiolab/system-monitor.cpp

Last synced: 23 days ago
JSON representation

A Linux system monitor implementation similar to htop, built with C++ and ncurses library. This project demonstrates object-oriented programming principles by providing real-time system metrics including CPU usage, memory consumption, and process information.

Awesome Lists containing this project

README

        

# Linux System Monitor

System Monitor Project in the Object Oriented Programming Course of the [Udacity C++ Nanodegree Program](https://www.udacity.com/course/c-plus-plus-nanodegree--nd213).

## ncurses
[ncurses](https://www.gnu.org/software/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](https://www.gnu.org/software/make/). The Makefile has four targets:
* `build` compiles the source code and generates an executable
* `format` applies [ClangFormat](https://clang.llvm.org/docs/ClangFormat.html) 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/udacity/CppND-System-Monitor-Project-Updated.git`
2. Build the project: `make build`
3. Run the resulting executable: `./build/monitor`
![System Monitor](assets/monitor.png)