DOKK / manpages / debian 12 / systemtap-doc / tapset::proc_mem.3stap.en
TAPSET::PROC_MEM(3stap) TAPSET::PROC_MEM(3stap)

tapset::proc_mem - systemtap proc_mem tapset


Process memory query and utility functions provide information about
the memory usage of the current application. These functions provide
information about the full size, resident, shared, code and data used
by the current process. And provide utility functions to query the
page size of the current architecture and create human readable string
representations of bytes and pages used.

Total program virtual memory size in pages
See function::proc_mem_size(3stap)
for details.
Total program virtual memory size in pages
See function::proc_mem_size(3stap)
for details.
Program resident set size in pages
See function::proc_mem_rss(3stap)
for details.
Program resident set size in pages
See function::proc_mem_rss(3stap)
for details.
Program shared pages (from shared mappings)
See function::proc_mem_shr(3stap)
for details.
Program shared pages (from shared mappings)
See function::proc_mem_shr(3stap)
for details.
Program text (code) size in pages
See function::proc_mem_txt(3stap)
for details.
Program text (code) size in pages
See function::proc_mem_txt(3stap)
for details.
Program data size (data + stack) in pages
See function::proc_mem_data(3stap)
for details.
Program data size (data + stack) in pages
See function::proc_mem_data(3stap)
for details.
Number of bytes in a page for this architecture
See function::mem_page_size(3stap)
for details.
Human readable string for given bytes
See function::bytes_to_string(3stap)
for details.
Turns pages into a human readable string
See function::pages_to_string(3stap)
for details.
Human readable string of process memory usage
See function::proc_mem_string(3stap)
for details.
Human readable string of process memory usage
See function::proc_mem_string(3stap)
for details.

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)

November 2022 SystemTap Tapset Reference