From: Florian Forster Date: Thu, 5 Apr 2007 13:23:11 +0000 (+0200) Subject: cpu plugin: Collectd CPU `steal time' as reported by new Linux kernels. X-Git-Tag: collectd-4.0.0~106 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=856044b8c4b7bd7e4698f28ad271b11473baeca3;p=collectd.git cpu plugin: Collectd CPU `steal time' as reported by new Linux kernels. --- diff --git a/src/cpu.c b/src/cpu.c index 1dc78657..db784746 100644 --- a/src/cpu.c +++ b/src/cpu.c @@ -339,6 +339,9 @@ static int cpu_read (void) submit (cpu, "wait", wait); submit (cpu, "interrupt", intr); submit (cpu, "softirq", sitr); + + if (numfields >= 9) + submit (cpu, "steal", atoll (fields[8])); } }