GithubHelp home page GithubHelp logo

eplq / simple-system-monitoring Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 9 KB

Una manera simple de monitorizar un sistema Windows o Linux desde una interfaz web.

License: MIT License

Python 26.36% JavaScript 47.90% HTML 25.74%

simple-system-monitoring's Introduction

simple-system-monitoring

Simple way to monitor a Windows/Linux system with a web interface.

Running

This software has been tested in Python 3.8+.

First, clone this repository:

git clone https://github.com/eplq/simple-system-monitoring

Go to simple-system-monitoring folder:

cd simple-system-monitoring

Install dependencies:

pip3 install -r requirements.txt      # linux
py -m pip install -r requirements.txt # windows

And run the software:

python3 main.py # linux
py main.py      # windows

Once it is running, you can access to the web interface from your browser. By default, it listens in all interfaces on port 80 (can be changed in const.py).

How it works

It gets stats about CPU, RAM, disks and network every second (can be configured in const.py file, < 0.5s not recommended).

All stats are provided by the psutil library.

Those stats are broadcasted with Socket.io, which allows to make your custom client only connecting to the Socket.io server.

The events are cpu, ram, disk and net.

There is a built-in web interface to show how it works. Check the templates and static folders.

It uses the following technologies:

  • Python 3.8+
  • Flask
  • Socket.io
  • psutil
  • Bootstrap 5
  • JavaScript

For the HTML style no custom CSS was used, only Bootstrap.

License

This project is licensed under the MIT License.

simple-system-monitoring's People

Contributors

eplq avatar

Stargazers

 avatar

Watchers

 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.