slabtop命令是以实时的方式显示内核slab缓冲区的细节信息,是linux自带的命令
[root@k8s-master ~]# slabtop --helpUsage: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 exitThe following are valid sort criteria:a: sort by number of active objectsb: sort by objects per slabc: sort by cache sizel: sort by number of slabsv: sort by number of active slabsn: sort by nameo: sort by number of objects (the default)p: sort by pages per slabs: sort by object sizeu: sort by cache utilization
-d 每n秒更新一次显示信息,默认为3秒
-s 指定排序标准进行排序
-o 显示一次后退出