proc_stats: report system uptime in API request
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
1968beaa0d
commit
9b5b3cc506
|
@ -115,6 +115,7 @@ class ProcStats:
|
|||
'cpu_temp': cpu_temp,
|
||||
'network': self.last_net_stats,
|
||||
'system_cpu_usage': self.cpu_usage,
|
||||
'system_uptime': time.clock_gettime(time.CLOCK_BOOTTIME),
|
||||
'websocket_connections': websocket_count
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue