file control blocks and the inode cache
Checking dentry-cache statistics
To see statistics about the dentry-cache:
$ cat /proc/sys/fs/dentry-state 17782 9733 45 0 0 0
Entries are as follows:
nr_dentry - number of allocated dentries in the cache.
nr_unused - number of unused (=free) entries in the cache.
age_limit - the minimum age (in seconds) for a dentry, until the kernel may reclaim it due to memory pressure.
want_pages - non-zero when the kernel started a shrink dentry-cache operation that was not yet finished.
Originally written by