[Techtalk] kernel memory usage
Jeff Dike
jdike at addtoit.com
Wed Jan 19 12:04:57 EST 2005
kclair at gmail.com said:
> Does anyone know how to print out the kernel memory usage?
Depends on what you mean by that. /proc/meminfo lists "Buffers" and "Cached".
Cached is the page cache, anything that has been read or written to a file,
for the most part. I'm not sure what's counted as a buffer any more.
/proc/slabinfo lists the slab caches. These are internal kernel stuff for
the most part, although some of the entries can be accounted to processes.
So, what kernel memory usage is, exactly, depends on how hard you are going
to try to assign memory use to processes, with the kernel's usage being
everything else.
Jeff
More information about the Techtalk
mailing list