summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a6b16a6)
raw | patch | inline | side by side (parent: a6b16a6)
author | Marius Rieder <marius.rieder@inf.ethz.ch> | |
Sat, 5 May 2007 05:58:47 +0000 (07:58 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Sat, 5 May 2007 05:58:47 +0000 (07:58 +0200) |
src/memory.c | patch | blob | history |
diff --git a/src/memory.c b/src/memory.c
index e169503c6de742bd89c02c558881d7edbd17253a..aff16f5434e4d81fbfc4ab614f70b46bd10915bc 100644 (file)
--- a/src/memory.c
+++ b/src/memory.c
sysctl_vals[i] *= sysctl_vals[0];
memory_submit ("free", sysctl_vals[2]);
- memory_submit ("wired", sysctl_vals[2]);
- memory_submit ("active", sysctl_vals[2]);
- memory_submit ("inactive", sysctl_vals[2]);
- memory_submit ("cache", sysctl_vals[2]);
+ memory_submit ("wired", sysctl_vals[3]);
+ memory_submit ("active", sysctl_vals[4]);
+ memory_submit ("inactive", sysctl_vals[5]);
+ memory_submit ("cache", sysctl_vals[6]);
/* #endif HAVE_SYSCTLBYNAME */
#elif defined(KERNEL_LINUX)