slabtop
:
slabtop - display kernel slab cache information in real time( slab , /proc/slabinfo)
, , slab 。 slab , , , 。linux /proc/slabinfo slab 。
Linux slab Jeff Bonwick SunOS 。Jeff 。 , ( ) 。Jeff 。 , 。Linux slab 。
slab /proc/slabinfo
:
slabtop [options]
:
slabtop displays detailed kernel slab cache information in real time. It displays a listing of the top caches sorted by one of the listed sort criteria. It also displays a statistics header filled with slab layer information.
:
--delay=n, -d n # n , 3
--sort=S, -s S # ( , man )
--once, -o #
--version, -V #
--help #
:
a: sort by number of active objects
b: sort by objects per slab
c: sort by cache size
l: sort by number of slabs
v: sort by number of active slabs
n: sort by name
o: sort by number of objects
p: sort by pages per slab
s: sort by object size
u: sort by cache utilization
:
<SPACEBAR>:
Q:
ps. linux , 。