This commit is contained in:
parent
41e092becc
commit
c9d1c11c16
|
@ -36,3 +36,6 @@ def get_platform_info():
|
||||||
return info
|
return info
|
||||||
|
|
||||||
return {'up_time': '20:52', 'tasks': '127', 'cpu_us': '1.6', 'cpu_sy': '1.6', 'cpu_id': '96.9', 'mem_total': '12134268', 'mem_free': '5648868', 'mem_used': '4537556'}
|
return {'up_time': '20:52', 'tasks': '127', 'cpu_us': '1.6', 'cpu_sy': '1.6', 'cpu_id': '96.9', 'mem_total': '12134268', 'mem_free': '5648868', 'mem_used': '4537556'}
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
print(get_platform_info())
|
Loading…
Reference in New Issue