Skip to content

A python application that allows to monitor RAM & CPU usages remotely.

Notifications You must be signed in to change notification settings

adoma25/remote-resources-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Remote-Resources-Monitor

About

A python application that allows to monitor RAM & CPU usages for a remote machine running linux . Script connects to remote machine over ssh and fetchs current resources usage. Works on Linux & Windows

Brief

Methodology

Fabric is used to establish a connection between the host and the remote machine.
Top and Free are used to fetch the CPU and RAM usage in order to ensure compatibility across all linux distributions.
A simple recurring bar is used to represent the data over text.
Matplotlib is used to plot the data into a graphical visualization.

Issues

Complications arise when trying to run a GUI script in a docker container environment that would require the use of something similar to a VNC or X server in order to give access of the hosts display

Fixes

One ideal fix would be to change from Docker to Conda

Requirements

Docker || Python >= 3.8

Instalation

Linux && Docker

Clone the repository:

git clone https://github.com/adoma25/remote-resources-monitor.git

Navigate to the repo directory:

cd remote-resources-monitor

Build the image using docker:

sudo build -t rrmonitor .

Run the built image:

sudo docker run --interactive --tty rrmonitor

Terminal-Version in Docker Linux

image

Windows

If python >= 3.8 is installed you can run python main.py . Alternatively, Docker can be used on windows following similar steps.

image

GUI Graph

Merged_document

Command-Line Version

image

About

A python application that allows to monitor RAM & CPU usages remotely.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published