MCPcopy Create free account
hub / github.com/cppla/ServerStatus / get_swap

Function get_swap

clients/client-psutil.py:70–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68 return int(Mem.total / 1024.0), int(Mem.used / 1024.0)
69
70def get_swap():
71 Mem = psutil.swap_memory()
72 return int(Mem.total/1024.0), int(Mem.used/1024.0)
73
74def get_hdd():
75 if "darwin" in sys.platform:

Callers 1

client-psutil.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected