PCP-BUDDYINFO(1)

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

πŸ’– pcp-buddyinfo β€” the manual, but make it cute πŸ’–

okay so bestie, welcome to pcp-buddyinfo(1), a General Commands Manual page from the Performance Co-Pilot girlies. this is literally the whole thing, no skips, no cuts, we're reading it together 🫢


✨ NAME ✨

pcp-buddyinfo β€” report statistics for the buddy algorithm, aka the exact same vibe as cat /proc/buddyinfo πŸ’…


✨ SYNOPSIS ✨

pcp [pcp options] buddyinfo [-s samples] [-a archive] [-Z --timezone]
[-z --hostzone] [-V Version]

yes that's the whole thing, copy it exactly, don't freestyle 🌸


✨ DESCRIPTION ✨

okay so pcp-buddyinfo is your girl for peeking at all the different stats related to buddyinfo. it helps you analyze the useful info about the buddy algorithm β€” the total number of zones that are currently active, order pages, all of it. and by default? it reports live data for the local host. no archive needed, she just looks around πŸ‘€

here's the full rundown of the stats it shows, no cap:

  • Normal β€” zones available
  • Nodes β€” available nodes
  • Order0 β€” available pages of order 0
  • Order1 β€” available pages of order 1
  • Order2 β€” available pages of order 2
  • Order3 β€” available pages of order 3
  • Order4 β€” available pages of order 4
  • Order5 β€” available pages of order 5
  • Order6 β€” available pages of order 6
  • Order7 β€” available pages of order 7
  • Order8 β€” available pages of order 8
  • Order9 β€” available pages of order 9
  • Order10 β€” available pages of order 10

each column is the number of pages of a certain order (a certain size) that are available at any given time, periodt. for example, for zone DMA (that's direct memory access), there are 90 of 2^(0*PAGE_SIZE) chunks of memory. similarly, there are 6 of 2^(1*PAGE_SIZE) chunks, and 2 of 2^(2*PAGE_SIZE) chunks of memory available. math is math πŸ’–

and the rows? the DMA row references the first 16 MB on a system, the HighMem row references all memory greater than 4 GB on a system, and the Normal row references all memory in between. iconic layout honestly πŸ‘‘


✨ OPTIONS ✨

  • -a, --archive β€” fetch /proc/buddyinfo for a specified archive file πŸŽ€
  • -s, --samples β€” get the buddyinfo for the specified number of samples count 🌸
  • -z, --hostzone β€” set the reporting timezone to the local time of the metrics source πŸ¦‹
  • -Z, --timezone β€” set the reporting timezone ✨
  • -V, --version β€” display the version number and exit, bye πŸ‘‹
  • -?, --help β€” display the usage message and exit πŸ’œ

✨ NOTES ✨

pcp-buddyinfo collects information from /proc/buddyinfo and aims to be command-line and output compatible with it. so if you know that one, you already know her 🫢


✨ 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 bestie, they're all part of the lore 🌈


no notes are skipped here, every single one made it in. that's the whole page, nothing missing, everything intact πŸ’€βœ¨

and that's a wrap! this was the Performance Co-Pilot version, PCP, dated like the original β€” so if you see Performance Co-Pilot and PCP at the bottom of the real page with the PCP-BUDDYINFO(1) date, that's just the footer being cute. mwah, go check your buddyinfo πŸŽ€πŸ’–πŸ¦‹

πŸ“¦ where this page comes from