Skip to content

deliveree/server_resources_collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The app collects statistics about its local server and push them to a central server.

Stats of local server can include:

  • Delay time of a Postgres' database
  • Number of Query in queue of a Postgres' database
  • Ram Available
  • Load Average

It has two parts:

  • Client: does regular checking and push stats to a central server
  • Central Server: receives stats from Clients and stores in redis

Client uses websockets to push data to server. The stats are stored in redis.

How to run

  1. Run server
  2. Run client

Commands:

See all connected clients:
lsof -i -n | grep python3

Requirements

  • >= Python 3.7.0
  • asyncio

Referemce

https://medium.com/@pgjones/an-asyncio-socket-tutorial-5e6f3308b8b0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages