PCP-SLABINFO(1)

πŸ“¦
version 7.2.2 Β· 2 versions
, in arch rolling, centos-stream 10, fedora 43, fedora 44, ubuntu resolute, ubuntu stonking

πŸ’– 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 bytes
  • objperslab β€” the number of objects stored in each slab
  • pagesperslab β€” the number of pages allocated for each slab
  • active_slabs β€” the number of active slabs
  • num_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 πŸ’…

  • -a file, --archive=file β€” Fetch /proc/slabinfo for a specified archive file πŸŽ€
  • -s count, --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 -h or the -a options. the default is to use the timezone of the local host. 🌈
  • -Z timezone, --timezone=timezone β€” Use timezone for the date and time. timezone is in the format of the environment variable TZ as described in environ(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