Friday, October 19, 2007

SLAB INFO

The slab info is a useful view of the kernel cache statistics.
Located under /proc/slabinfo

A useful command is the watch command to repeatedly display the cache usage:

watch -n 1 "cat /proc/slabinfo | grep inode_cache"

The above command continuously (every second) displays the inode_cache info from the kernel.

No comments: