PCP-SLABINFO(1)

πŸ“¦ version 6.2.0, in opensuse-leap 16.0, ubuntu noble

πŸ’– 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 slab
  • active_slabs β€” The number of active slabs.
  • num_slabs β€” The total number of slabs.

πŸ’… OPTIONS πŸ’…

  • -a, --archive β€” Fetch /proc/slabinfo for 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