slabinfo.5: /proc/meminfo 'Slab' shows total memory used by SLAB/SLUB cache

Verified by experiment (summing [pagesperslab * num_slabs] across
all records in /proc/slabinfo).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-01-25 16:59:21 +13:00
parent 27e78df197
commit 2b5139c524
1 changed files with 5 additions and 0 deletions

View File

@ -210,5 +210,10 @@ Only root can read and (if the kernel was configured with
write the
.IR /proc/slabinfo
file.
The total amount of memory allocated to the SLAB/SLUB cache is shown in the
.I Slab
field of
.IR /proc/meminfo .
.SH SEE ALSO
.BR slabtop (1)