Calculating total slab memory on 2.2/2.0 (was: More questions about 2.6 /proc/meminfo was: (Mem: and Swap: lines in /proc/meminfo))

From: Mike Fedyk
Date: Mon Dec 15 2003 - 23:11:41 EST


In 2.4 with slabinfo format version 1.1, I can sum up the total pages used
for all slab caches, but the number of pages used is not in the 1.0 format
(in the 2.2 kernel).

Is there a way to get the total amount of slab cache memory used in a 2.2
kernel from userspace?

Same question for a 2.0 kernel too. :)

Thanks,

Mike
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/