A text-based graphical output program to monitor Linux system. Application parses proc filesystem (an interface to kernel data structures) to retrieve information and format it using ncurses.
ncurses is a library that facilitates text-based graphical output in the terminal. This project relies on ncurses for display output.
To install ncurses within your own Linux environment: sudo apt install libncurses5-dev libncursesw5-dev
This project uses Make. The Makefile has four targets:
build
compiles the source code and generates an executableformat
applies ClangFormat to style the source codedebug
compiles the source code and generates an executable, including debugging symbolsclean
deletes thebuild/
directory, including all of the build artifacts
-
Clone the project repository:
git clone git@github.com:compilepeace/LinuxMonitor.git
-
Build the project:
make build
-
Implemented
System
,Process
, andProcessor
classes, as well as functions within theLinuxParser
namespace.
Starter code for this repository can be found at https://github.com/udacity/CppND-System-Monitor-Project-Updated.git
.