Line 0
Link Here
|
|
|
1 |
--- agent/mibgroup/hardware/memory/memory_freebsd.c.orig 2015-02-20 14:44:47 UTC |
2 |
+++ agent/mibgroup/hardware/memory/memory_freebsd.c |
3 |
@@ -163,7 +163,7 @@ int netsnmp_mem_arch_load( netsnmp_cache |
4 |
if (!mem->descr) |
5 |
mem->descr = strdup("Cached memory"); |
6 |
mem->units = pagesize; |
7 |
- mem->size = cache_count; |
8 |
+ mem->size = cache_count + inact_count; |
9 |
mem->free = 0; |
10 |
} |
11 |
|