PCP-SLABINFO(1)
π pcp-slabinfo β the manual, but make it a group chat π
okay bestie, so this is pcp-slabinfo(1), a General Commands Manual page, and it's literally about peeking at what your kernel's slab allocator is up to. no cap. let's get into it β¨
β¨ NAME β¨
pcp-slabinfo β Report statistics for kernel slab allocator π§
πΈ SYNOPSIS πΈ
pcp [pcp options] slabinfo [-a archive] [-s samples] [-Z timezone]
π¦ DESCRIPTION π¦
okay so the pcp-slabinfo command is for viewing different stats related to slab. it helps users analyze useful information related to the slab allocator. the information includes the total number of objects that are currently active, allocated objects, pages per slab, etc. by default, pcp-slabinfo reports live data for the local host. π
the statistics shown are as follows:
active_objsβ the number of objects that are currently active (i.e., in use)num_objsβ the total number of allocated objects (i.e. objects that are both in use and not in use)objsizeβ the size of objects in this slab, in bytesobjperslabβ the number of objects stored in each slabpagesperslabβ the number of pages allocated for each slabactive_slabsβ the number of active slabsnum_slabsβ the total number of slabs
(the original page lays these out as a HEADER / DESCRIPTION table, but we're doing bullets, because tables are not the vibe here π the facts are all still there, i promise.)
π OPTIONS π
-afile,--archive=file β Fetch/proc/slabinfofor a specified archive file π-scount,--samples=count β Get the slabinfo statistics for specified number of samples count-V,--versionβ Display version number and exit. slay, short and sweet β-z,--hostzoneβ Use the local timezone of the host that is the source of the performance metrics, as identified by either the-hor the-aoptions. the default is to use the timezone of the local host. π-Ztimezone,--timezone=timezone β Use timezone for the date and time. timezone is in the format of the environment variableTZas described inenviron(7).-?,--helpβ Display usage message and exit. bestie behavior fr fr π«Ά
π NOTES π
pcp-slabinfo collects information from /proc/slabinfo. that's the whole source of truth, no cap.
π PCP ENVIRONMENT π
environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. on each installation, the file /etc/pcp.conf contains the local values for these variables. the $PCP_CONF variable may be used to specify an alternative configuration file, as described in pcp.conf(5). π
for environment variables affecting PCP tools, see pmGetOptions(3). iykyk.
π SEE ALSO π
PCPIntro(1), pcp(1), pmParseInterval(3), environ(7). go read them, they're iconic. π₯
and that's the whole page, bestie!! this one shipped as Performance Co-Pilot, version PCP, and the page itself is PCP-SLABINFO(1). mwah, go check your slabs πβ¨π
π¦ where this page comes from
- arch rolling: pcp 7.2.2-2 Β· GPL-2.0-or-later AND LGPL-2.1-or-later AND CC-BY-3.0
- centos-stream 10: pcp-doc 7.1.5-6.el10 Β· GPL-2.0-or-later AND CC-BY-3.0
- fedora 43: pcp-doc 7.0.1-1.fc43 Β· GPL-2.0-or-later AND CC-BY-3.0
- fedora 43: pcp-doc 7.2.1-1.fc43
- fedora 43: pcp-doc 7.2.2-1.fc43
- fedora 43: pcp-doc 7.2.2-2.fc43 Β· GPL-2.0-or-later AND CC-BY-3.0
- fedora 44: pcp-doc 7.1.0-6.fc44 Β· GPL-2.0-or-later AND CC-BY-3.0
- fedora 44: pcp-doc 7.2.1-1.fc44
- fedora 44: pcp-doc 7.2.2-1.fc44
- fedora 44: pcp-doc 7.2.2-2.fc44 Β· GPL-2.0-or-later AND CC-BY-3.0
- ubuntu resolute: pcp 7.1.1-1
- ubuntu stonking: pcp 7.2.1-2build1
- Copyright (c) 2023 Oracle and/or its affiliates
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms