Code Monkey home page Code Monkey logo

system-activity-monitor's Introduction

System-Activity-Monitor

This is a simple system activity monitor written in c++.

Project Overview

This project aims to :

  • Build a system monitor for Linux like htop using C++ with ncurses library.
  • Bonus: OS, Kernel, Total Processes and Uptime, Unit Testing with gtest framework.

Dependencies

This project needs the following dependencies:

  • Linux based OS with Linux >= 2.6
  • cmake >= 3.11.3
  • make >= 4.1
  • gcc/g++ >= 7.4.0
  • ncurses
  • gtest framework is Google's C++ testing and mocking framework.
    • sudo apt-get install libgtest-dev (For Ubuntu or Debian-based systems)
    • Visit the Google Test GitHub repository (https://github.com/google/googletest) and download the source code either by cloning the repository or downloading a release tarball

Basic Build and Run Instructions

  1. Clone this repository.
  2. Install dependencies.
  3. To run the tests, delete the file CMakeCache.txt in "System-Activity-Monitor/Test/build".
    • At System-Activity-Monitor/Test/build, run the command cmake .., then make, then ./test
  4. To run the system monitor, delete the file CMakeCache.txt in "System-Activity-Monitor/".
    • At System-Activity-Monitor/, run the command cmake ., then make, then ./monitor

Result

Here you can see an example result (from my Linux VM):

system-activity-monitor's People

Contributors

noranorab avatar

Watchers

Ahmed Lekssays avatar EROUI Abdelaziz avatar Mehdi Cheracher avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.