TAPSET::PROC_MEM(3stap)
π TAPSET::PROC_MEM β the proc_mem tapset, explained bestie to bestie π
okay so this is the 3stap manual page for tapset::proc_mem β yes, the section is literally called 3stap, that's the manual name, we love a naming convention. anyway. it's the SystemTap tapset that's all about how much memory your current application is using, plus some cute little helper functions so you can actually read those numbers without crying. let's get into it π
β¨ NAME β¨
tapset::proc_mem β the systemtap proc_mem tapset π«Ά
πΈ DESCRIPTION πΈ
So like. The process memory query and utility functions here hand you info about the memory usage of the current application. They cover the full size, the resident size, the shared size, and the code and data being used by the current process. That's the whole squad right there.
And then β because raw page counts are giving "cryptic little gremlin" energy β there are also utility functions that let you query the page size of the current architecture and build human readable string representations of bytes and pages. so you can actually show your friends. obsessed. π
π the functions themselves π
heads up bestie: the page lists a bunch of these twice. same name, same one-liner, same See-also. not me inventing options, that's just what's on the page. keeping it 100% intact fr fr. π
proc_mem_size
Total program virtual memory size, measured in pages.
See function::proc_mem_size(3stap) for details.
proc_mem_size
Total program virtual memory size, measured in pages.
See function::proc_mem_size(3stap) for details.
proc_mem_rss
Program resident set size, in pages. that's the stuff actually chillin' in RAM.
See function::proc_mem_rss(3stap) for details.
proc_mem_rss
Program resident set size, in pages.
See function::proc_mem_rss(3stap) for details.
proc_mem_shr
Program shared pages β the ones coming from shared mappings.
See function::proc_mem_shr(3stap) for details.
proc_mem_shr
Program shared pages β the ones coming from shared mappings.
See function::proc_mem_shr(3stap) for details.
proc_mem_txt
Program text (aka code) size, in pages. the actual instructions, iconic.
See function::proc_mem_txt(3stap) for details.
proc_mem_txt
Program text (aka code) size, in pages.
See function::proc_mem_txt(3stap) for details.
proc_mem_data
Program data size β that's data + stack β in pages.
See function::proc_mem_data(3stap) for details.
proc_mem_data
Program data size β that's data + stack β in pages.
See function::proc_mem_data(3stap) for details.
mem_page_size
How many bytes are in a page on this architecture. architecture-dependent bestie, don't assume.
See function::mem_page_size(3stap) for details.
bytes_to_string
Gives you a human readable string for whatever byte count you hand it. glow up for numbers β¨
See function::bytes_to_string(3stap) for details.
pages_to_string
Turns pages into a human readable string. same energy, different unit.
See function::pages_to_string(3stap) for details.
proc_mem_string
A human readable string of the whole process memory usage. the main character of the string-ifiers π
See function::proc_mem_string(3stap) for details.
proc_mem_string
A human readable string of the whole process memory usage.
See function::proc_mem_string(3stap) for details.
π SEE ALSO π
go read these too, they're all linked and they all ate:
function::proc_mem_size(3stap)function::proc_mem_rss(3stap)function::proc_mem_shr(3stap)function::proc_mem_txt(3stap)function::proc_mem_data(3stap)function::mem_page_size(3stap)function::bytes_to_string(3stap)function::pages_to_string(3stap)function::proc_mem_string(3stap)stap(1)stapprobes(3stap)
and that's the whole page bestie, no notes, every single function accounted for π
this lil love letter came to you from the SystemTap Tapset Reference, dated September 2026 β that's the TAPSET::PROC_MEM(3stap) footer energy, periodt. go check your RSS and hydrate π¦β¨πΈ
π¦ where this page comes from
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms