gluon-respondd: add information from /proc/stat to "statistics"
This commit adds information about: - how cpu time is spent since boot in jiffies (1/100*sek) (cpu) - the value is summed for all cores, so in 10 seconds the summed values will increase by 4000, if the cpu has 4 cores - context switches since boot (ctxt) - interrupt counters since boot (intr, softirq) - forks since boot (processes) { "stat": { "cpu": { "user": 219403, "nice": 1714, "system": 75159, "idle": 2727739, "iowait": 2943, "irq": 0, "softirq": 571 }, "intr": 8426340, "ctxt": 50992590, "processes": 10549, "softirq": 5161884 } }
Please register or sign in to comment