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

Function get_uptime

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

Source from the content-addressed store, hash-verified

61CM = _env_str("CM", CM)
62
63def get_uptime():
64 return int(time.time() - psutil.boot_time())
65
66def get_memory():
67 Mem = psutil.virtual_memory()

Callers 1

client-psutil.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected