Fix displayed data multiplication in mem.committed in FreeBSD plugin
Vladimir Kobal committed
Jan 3, 2017 at 16:20 UTC
a5225f76fd3ba1a604ecba3a6f3eda1a4bb83fdd
1 file changed
+1
-1
src/freebsd_sysctl.c
+1
-1
@@ -295,7 +295,7 @@ int do_freebsd_sysctl(int update_every, usec_t dt) {
295
st = rrdset_create("mem", "committed", NULL, "system", NULL, "Committed (Allocated) Memory", "MB", 5000, update_every, RRDSET_TYPE_AREA);
296
st->isdetail = 1;
297
298
- rrddim_add(st, "Committed_AS", NULL, system_pagesize, 1024, RRDDIM_ABSOLUTE);
298
+ rrddim_add(st, "Committed_AS", NULL, system_pagesize, 1048576, RRDDIM_ABSOLUTE);
299
}
300
else rrdset_next(st);
301