projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
571adf1
)
Reports memory allocation in bytes, not kilobytes.
author
Johan Wirén
<johan.wiren.se@gmail.com>
Mon, 18 Mar 2013 21:56:55 +0000
(22:56 +0100)
committer
Johan Wirén
<johan.wiren.se@gmail.com>
Mon, 18 Mar 2013 21:56:55 +0000
(22:56 +0100)
src/libvirt.c
patch
|
blob
|
history
diff --git
a/src/libvirt.c
b/src/libvirt.c
index
10ca37f
..
f8be994
100644
(file)
--- a/
src/libvirt.c
+++ b/
src/libvirt.c
@@
-441,7
+441,7
@@
lv_read (void)
}
cpu_submit (info.cpuTime, domains[i], "virt_cpu_total");
- memory_submit ((gauge_t) info.memory, domains[i]);
+ memory_submit ((gauge_t) info.memory
* 1024
, domains[i]);
vinfo = malloc (info.nrVirtCpu * sizeof (vinfo[0]));
if (vinfo == NULL) {