Skip to content

mirkoviviano/CppND-System-Monitor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CppND-System-Monitor

Create a linux-based system monitor (similar to HTOP).

To setup and compile in Udacity Ubuntu workspace:

  1. Clone repository into /home/workspace/
cd /home/workspace/
git clone https://github.com/mirkoviviano/CppND-System-Monitor
  1. Follow along with the lesson and make sure you complete the ProcessParser and Process classes before attempting to run the project.

  2. Install ncurses package

sudo apt-get install libncurses5-dev libncursesw5-dev
  1. Compile and run
g++ -std="c++17" main.cpp -lncurses
./a.out
  1. In case of error that looks like the following:
root@77e30fca8a01:/home/workspace/CppND-Object-Oriented# ./a.out
*** %n in writable segment detected ***
                                      Aborted (core dumped)

just keep trying ./a.out and it should work eventually!

About

System Monitor - C++ Engineering Udacity Nanodegree - Second Project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%