- Uses filesystem library from STL(C++ 17)
- Computes active processor usage in very 5 millisecond
- Uses priority queue to keep just top 10 process with high cpu usage
-
Clone the project repository
-
Build the project:
make build
-
Run the resulting executable:
./build/monitor
ncurses is a library that facilitates text-based graphical output in the terminal. This project relies on ncurses for display output.
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