Browse Source

Include load average

develop
Sven Slootweg 9 years ago
parent
commit
81127ba283
  1. 3
      script/daemon.py

3
script/daemon.py

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