X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fmemory.c;h=e8ba93487f2de172d64bba55b8c7a97241557354;hb=617ab1acea89e0d0be874c6fbaa626ea5ae87c50;hp=b1f2e76906c03d572be273a986f13f17608bc425;hpb=577e34aa13e140ae143e7704c1ab1bd343e8d9d6;p=collectd.git diff --git a/src/memory.c b/src/memory.c index b1f2e769..e8ba9348 100644 --- a/src/memory.c +++ b/src/memory.c @@ -212,7 +212,7 @@ static int memory_read_internal (value_list_t *vl) free = (gauge_t) (((uint64_t) vm_data.free_count) * ((uint64_t) pagesize)); MEMORY_SUBMIT ("wired", wired, - "active", active, + "active", active, "inactive", inactive, "free", free); /* #endif HAVE_HOST_STATISTICS */ @@ -332,14 +332,13 @@ static int memory_read_internal (value_list_t *vl) /* #endif KERNEL_LINUX */ #elif HAVE_LIBKSTAT - /* Most of the additions here were taken as-is from the k9toolkit from - * Brendan Gregg and are subject to change I guess */ + /* Most of the additions here were taken as-is from the k9toolkit from + * Brendan Gregg and are subject to change I guess */ long long mem_used; long long mem_free; long long mem_lock; long long mem_kern; long long mem_unus; - long long mem_total; long long pp_kernel; long long physmem;