From 99a97458c2d735c9a91e9ecc45bf33fa338695ad Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 15 Sep 2014 19:21:22 +0200 Subject: [PATCH] cpu plugin: Fix parsing of SoftIRQ under Linux. --- src/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); -- 2.11.0