PCP-ZONEINFO(1)
π PCP-ZONEINFO π
okay bestie, welcome to pcp-zoneinfo(1) β it's a General Commands Manual page and it's literally all about peeking at your NUMA zone stats. sit down, grab a boba, we're doing this π§β¨
β¨ NAME β¨
pcp-zoneinfo β Report NUMA zone statistics
πΈ SYNOPSIS πΈ
pcp [pcp options] zoneinfo [-Vz?] [-s samples] [-a archive] [-S
start_time] [-T end_time] [-Z timezone]
π¦ DESCRIPTION π¦
So pcp-zoneinfo is the tool you use to look at all the different kinds of stats related to NUMA nodes. With the various options it helps a user analyze useful information related to the zone availability for different NUMA nodes β and that is genuinely useful for analyzing virtual memory behavior. iykyk π
By default, pcp-zoneinfo reports live data for the local host. no cap.
The statistics shown are as follows:
π Per node stats (for each NUMA node)
nr_inactive_anonβ zone inactive anonymous pagesnr_active_anonβ active anonymous memory pagesnr_inactive_fileβ inactive file memory pagesnr_active_fileβ active file memory memory pagesnr_unevictableβ unevictable pagesnr_slab_reclaimableβ reclaimable slab pagesnr_slab_unreclaimableβ unreclaimable slab pagesnr_isolated_anonβ isolated anonymous memory pagesnr_isolated_fileβ isolated file memory pagesnr_anon_pagesβ anonymous mapped pagecache pagesnr_mappedβ mapped pagecache pagesnr_file_pagesβ file pagecache pagesnr_dirtyβ pages dirty statenr_writebackβ pages writeback statenr_writeback_tempβ temporary writeback pagesnr_shmemβ shared memory pagesnr_shmem_hugepagesβ shared memory huge pagesnr_shmem_pmdmappedβ shared memory PMD mappingsnr_file_hugepagesβ file-backed huge pagesnr_file_pmdmappedβ file-backed PMD mappingsnr_anon_transparent_hugepagesβ anonymous transparent huge pagesnr_unstableβ pages in unstable state in each zonenr_vmscan_writeβ pages written from the LRU by the VM scanner. The VM is supposed to minimise the number of pages which get written from the LRU (for IO scheduling efficiency and reclaim success).nr_vmscan_immediate_reclaimβ prioritise for reclaim when writeback endsnr_dirtiedβ pages entering dirty statenr_writtenβ pages written out in each zonenr_kernel_misc_reclaimableβ miscellaneous reclaimable kernel pages
π Per zone stats (in each zone for each NUMA node)
pages freeβ free spacepages minβ min spacepages lowβ low spacepages highβ high spacepages spannedβ spanned spacepages presentβ present spacepages managedβ managed spacepages protectionβ protection spacenr_free_pagesβ number of free pagesnr_zone_inactive_anonβ zone inactive anonymous pagesnr_zone_active_anonβ zone active anonymous pagesnr_zone_inactive_fileβ zone inactive file-backed pagesnr_zone_active_fileβ zone active file-backed pagesnr_zone_unevictableβ zone unevictable pagesnr_zone_write_pendingβ zone write-pending pagesnr_mlockβ pages under mlocknr_page_table_pagesβ page table pagesnr_kernel_stackβ pages of kernel stacknr_bounceβ bounce buffer pagesnr_zspagesβ zsmalloc memory allocator pagesnr_free_cmaβ free Contiguous Memory Allocator pagesnuma_hitβ successful allocations from preferred NUMA zonenuma_missβ unsuccessful allocations from preferred NUMA zonenuma_foreignβ foreign NUMA zone allocationsnuma_interleaveβ interleaved NUMA allocationsnuma_localβ successful allocations from local NUMA zonenuma_otherβ unsuccessful allocations from local NUMA zone
π OPTIONS π
-afile,--archive=file β Fetch/proc/zoneinfofor a specified archive file-scount,--samples=count β Get the zoneinfo statistics for specified number of samples count-S,--start=time β Filter the samples from the archive from the given time-T,--finish=time β Filter the samples from the archive until the given time-V,--versionβ Display version number and exit.-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.
π NOTES π
pcp-zoneinfo collects information from /proc/zoneinfo. that's the source, periodt. π
π 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) and environ(7).
lowkey the whole vibe here is: NUMA zones, live by default, /proc/zoneinfo under the hood. go read the see-also list, bestie, it's giving β¨required readingβ¨
k bye, ily, go check your zones π«Ά
this has been Performance Co-Pilot, the PCP collection, page PCP-ZONEINFO(1) β mwah π π
π¦ 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
- 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.2.2-1.fc44
- fedora 44: pcp-doc 7.2.2-2.fc44 Β· GPL-2.0-or-later AND CC-BY-3.0
- 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