Linux command
slabtop 命令
安全
权限或系统影响较大,执行前请核对目标。
常用示例
Example
sudo slabtop
Example
sudo slabtop -s c
Example
sudo slabtop -s o
Example
sudo slabtop -s s
Example
sudo slabtop -o
Example
sudo slabtop -d 5
说明
slabtop displays detailed kernel slab cache information in real time. It shows a listing of the top caches sorted by one of the listed sort criteria, helping to monitor kernel memory allocation.
参数
- -d, --delay=N
- Refresh the display every N seconds (default: 3)
- -s, --sort=S
- Arrange output by specified sort criteria
- -o, --once
- Display output once then exit
- -V, --version
- Show version and exit
- -h, --help
- Show usage help and exit
FAQ
What is the slabtop command used for?
slabtop displays detailed kernel slab cache information in real time. It shows a listing of the top caches sorted by one of the listed sort criteria, helping to monitor kernel memory allocation.
How do I run a basic slabtop example?
Run `sudo slabtop` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -d, --delay=N do in slabtop?
Refresh the display every N seconds (default: 3)