Include load average

develop
Sven Slootweg 12 years ago
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…
Cancel
Save