Skip to content

vitalii-marchenko/linux-mem-cpu-monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

linux-mem-cpu-monitoring

This is utility that measures CPU and Memory metrics written in Python. The service is running inside Docker container and measures metrics from you host macine.

Install

Build from Dockerfile:

docker build -t gl_task -f Dockerfile .

Run

Run the image:

docker run --pid=host -v /proc/:/app/proc:ro -it gl_task /bin/bash

Use monitor script

Inside the docker container run following command to get CPU or MEM usage:

python mem_cpu_monitor.py cpu
python mem_cpu_monitor.py mem

About

Utility for measuring CPU and memory consumption

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages