Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
61
CM = _env_str(
"CM"
, CM)
62
63
def
get_uptime():
64
return
int(time.time() - psutil.boot_time())
65
66
def
get_memory():
67
Mem = psutil.virtual_memory()
Callers
1
client-psutil.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected