FUNCTION::PROC_MEM_S(3stap)

πŸ’– FUNCTION::PROC_MEM_S πŸ’–

okay bestie, we're in the Memory Tapset section of the SystemTap Tapset Reference and this little icon is about to make your terminal ✨aesthetic✨. Manual section 3stap, for the record. iykyk πŸ’…


🌸 NAME 🌸

function::proc_mem_string β€” a human readable string of process memory

no cap, that's literally the whole job description. she's giving vibes, she's giving usage.


✨ SYNOPSIS ✨

1) proc_mem_string:string()

2) proc_mem_string:string(pid:long)

two whole flavors, pick your fighter 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • pid β€” the pid of the process you wanna examine, bestie. that's the one. the whole entire argument. πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

1) she hands you back a human readable string showing the size, rss, shr, txt and data of the memory used by the current process. and like, an actual example? here:

"size: 301m, rss: 11m, shr: 8m, txt: 52k, data: 2248k"

ate. no notes. πŸ’…

2) same energy, same five fields β€” size, rss, shr, txt and data β€” but this time it's the memory of the given process (the one whose pid you passed, periodt). and the example is the exact same:

"size: 301m, rss: 11m, shr: 8m, txt: 52k, data: 2248k"

literally twins fr fr 😭


πŸ”₯ SEE ALSO πŸ”₯


SystemTap Tapset Reference Ver β€” September 2026 edition, babes πŸ“…

and that's the whole page!! mwah, go check on your processes, they're probably fine but like... check anyway πŸ’–πŸŽ€πŸ¦‹πŸŒΈβ­πŸ‘‘

πŸ“¦ where this page comes from