cli icon indicating copy to clipboard operation
cli copied to clipboard

feat: adds system info (cpu and memory) to Docker CmdWrapper

Open SteinRobert opened this issue 4 years ago • 3 comments

Aims to address several resource related issues (#34, #91, #128). Not done yet.

SteinRobert avatar Oct 27 '21 18:10 SteinRobert

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Oct 27 '21 18:10 sonarqubecloud[bot]

Maybe we can get the missing information using psutil. I am anyway not sure if we should use "docker info", since we can use psutil to get cpu and memory information too.

https://www.thepythoncode.com/article/get-hardware-system-information-python

buschNT avatar Nov 05 '21 18:11 buschNT

I guess we need both. For example: if the system has 16GB RAM but the docker daemon is only allowed to use 1GB :D

SteinRobert avatar Nov 05 '21 19:11 SteinRobert