slabtop命令是以实时的方式显示内核slab缓冲区的细节信息,是linux自带的命令
[root@k8s-master ~]# slabtop --help
Usage:
slabtop [options]
Options:
-d, --delay <secs> delay updates
-o, --once only display once, then exit
-s, --sort <char> specify sort criteria by character (see below)
-h, --help display this help and exit
-V, --version output version information and exit
The following are valid sort criteria:
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 (the default)
p: sort by pages per slab
s: sort by object size
u: sort by cache utilization
-d 每n秒更新一次显示信息,默认为3秒
-s 指定排序标准进行排序
-o 显示一次后退出