projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
691746f
)
cpu plugin: Fix parsing of SoftIRQ under Linux.
author
Florian Forster
<octo@collectd.org>
Mon, 15 Sep 2014 17:21:22 +0000
(19:21 +0200)
committer
Florian Forster
<octo@collectd.org>
Mon, 15 Sep 2014 17:21:22 +0000
(19:21 +0200)
src/cpu.c
patch
|
blob
|
history
diff --git
a/src/cpu.c
b/src/cpu.c
index
1ab1e6e
..
b4ceff6
100644
(file)
--- 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]);