Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-15 00:19:52 +00:00
parent 2f0bb2e110
commit cb2b02c321
11 changed files with 240 additions and 6 deletions

34
tldr/linux/slabtop Normal file
View File

@@ -0,0 +1,34 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# slabtop
> Display kernel slab cache information in real time.
> See also: `top`, `htop`, `atop`.
> More information: <https://manned.org/slabtop>.
- Start `slabtop`:
`sudo slabtop`
- Sort by [c]ache size:
`sudo slabtop {{[-s|--sort]}} c`
- Sort by number of [o]bjects:
`sudo slabtop {{[-s|--sort]}} o`
- Sort by object [s]ize:
`sudo slabtop {{[-s|--sort]}} s`
- Display once and then exit:
`sudo slabtop {{[-o|--once]}}`
- Display help:
`slabtop {{[-h|--help]}}`