From: Florian Forster Date: Mon, 15 Sep 2014 17:21:22 +0000 (+0200) Subject: cpu plugin: Fix parsing of SoftIRQ under Linux. X-Git-Tag: collectd-5.5.0~189 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=99a97458c2d735c9a91e9ecc45bf33fa338695ad;p=collectd.git cpu plugin: Fix parsing of SoftIRQ under Linux. --- diff --git a/src/cpu.c b/src/cpu.c index 1ab1e6ec..b4ceff64 100644 --- a/src/cpu.c +++ b/src/cpu.c @@ -642,7 +642,7 @@ static int cpu_read (void) { derives[CPU_SUBMIT_WAIT] = atoll(fields[5]); derives[CPU_SUBMIT_INTERRUPT] = atoll(fields[6]); - derives[CPU_SUBMIT_SOFTIRQ] = atoll(fields[6]); + derives[CPU_SUBMIT_SOFTIRQ] = atoll(fields[7]); if (numfields >= 9) derives[CPU_SUBMIT_STEAL] = atoll(fields[8]);