Include load average

This commit is contained in:
Sven Slootweg 2013-04-01 21:49:32 +02:00
parent 14441b3543
commit 81127ba283

View file

@ -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: