PCP-SLABINFO(1)
π PCP-SLABINFO(1) π
okay bestie, gather round, because today we're getting into pcp-slabinfo from the General Commands Manual section and honestly? it's giving kernel-nerd realness π
β¨ NAME β¨
pcp-slabinfo β Report statistics for kernel slab allocator statistics π§
πΈ SYNOPSIS πΈ
pcp [pcp options] slabinfo [-s samples] [-a archive] [-Z --timezone] [-z
--hostzone] [-V Version]
π¦ DESCRIPTION π¦
So like, pcp-slabinfo is the girl you call when you wanna see all the different stats related to slab. She helps you analyze actually useful info about the slab allocator β no cap. That info 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, periodt.
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 bytes.objperslabβ The number of objects stored in each slab.pagesperslabβ The number of pages allocated for each slabactive_slabsβ The number of active slabs.num_slabsβ The total number of slabs.
π OPTIONS π
-a,--archiveβ Fetch/proc/slabinfofor a specified archive file-s,--samplesβ Get the slabinfo for the specified number of samples count-z,--hostzoneβ Set the reporting timezone to the local time of metrics source-Z,--timezoneβ Set the reporting timezone-V,--versionβ Display the version number and exit.-?,--helpβ Display the usage message and exit.
π NOTES π
pcp-slabinfo collects information from /proc/slabinfo and aims to be command-line and output compatible with it. lowkey iconic behavior fr fr π
β 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).
π SEE ALSO π
PCPIntro(1), pcp(1), pmParseInterval(3), environ(7).
vibe check: this page is from Performance Co-Pilot, aka PCP, and it's PCP-SLABINFO(1) β that's the whole mood. go read your slabs, bestie, you're doing amazing πβ¨ππ¦πΈ
π¦ where this page comes from
- opensuse-leap 16.0: pcp-doc 6.2.0-160000.4.1 Β· GPL-2.0+ AND CC-BY-SA-3.0
- ubuntu noble: pcp 6.2.0-1.1build4
- 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