Include load average
This commit is contained in:
parent
14441b3543
commit
81127ba283
|
@ -49,7 +49,8 @@ def generate_stats(get_processes):
|
|||
"out": swap.sout
|
||||
},
|
||||
"disk": disks,
|
||||
"cpu": psutil.cpu_percent(percpu=True)
|
||||
"cpu": psutil.cpu_percent(percpu=True),
|
||||
"load": list(os.getloadavg())
|
||||
}
|
||||
|
||||
if get_processes:
|
||||
|
|
Loading…
Reference in a new issue