OS and Case minor change

This commit is contained in:
pporcheret 2025-04-07 13:53:10 +02:00
parent 61ed2159be
commit b3928f9b8e

View File

@ -27,6 +27,7 @@ def human_size(bytes, units=units_map):
class ENV:
def __init__(self):
self.os = psutil.sys.platform
self.hostname = psutil.os.uname().nodename
self.cpu_number = psutil.cpu_count(logical=False)
self.vcpu = psutil.cpu_count()