Scroll to navigation

tapset::proc_mem(3stap) tapset::proc_mem(3stap)

NAME

tapset::proc_mem - systemtap proc_mem tapset

DESCRIPTION


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.
proc_mem_size
Total program virtual memory size in pages
See function::proc_mem_size(3stap)
for details.
proc_mem_size_pid
Total program virtual memory size in pages
See function::proc_mem_size_pid(3stap)
for details.
proc_mem_rss
Program resident set size in pages
See function::proc_mem_rss(3stap)
for details.
proc_mem_rss_pid
Program resident set size in pages
See function::proc_mem_rss_pid(3stap)
for details.
proc_mem_shr
Program shared pages (from shared mappings)
See function::proc_mem_shr(3stap)
for details.
proc_mem_shr_pid
Program shared pages (from shared mappings)
See function::proc_mem_shr_pid(3stap)
for details.
proc_mem_txt
Program text (code) size in pages
See function::proc_mem_txt(3stap)
for details.
proc_mem_txt_pid
Program text (code) size in pages
See function::proc_mem_txt_pid(3stap)
for details.
proc_mem_data
Program data size (data + stack) in pages
See function::proc_mem_data(3stap)
for details.
proc_mem_data_pid
Program data size (data + stack) in pages
See function::proc_mem_data_pid(3stap)
for details.
mem_page_size
Number of bytes in a page for this architecture
See function::mem_page_size(3stap)
for details.
bytes_to_string
Human readable string for given bytes
See function::bytes_to_string(3stap)
for details.
pages_to_string
Turns pages into a human readable string
See function::pages_to_string(3stap)
for details.
proc_mem_string
Human readable string of current proc memory usage
See function::proc_mem_string(3stap)
for details.
proc_mem_string_pid
Human readable string of process memory usage
See function::proc_mem_string_pid(3stap)
for details.

SEE ALSO

function::proc_mem_size(3stap), function::proc_mem_size_pid(3stap), function::proc_mem_rss(3stap), function::proc_mem_rss_pid(3stap), function::proc_mem_shr(3stap), function::proc_mem_shr_pid(3stap), function::proc_mem_txt(3stap), function::proc_mem_txt_pid(3stap), function::proc_mem_data(3stap), function::proc_mem_data_pid(3stap), function::mem_page_size(3stap), function::bytes_to_string(3stap), function::pages_to_string(3stap), function::proc_mem_string(3stap), function::proc_mem_string_pid(3stap), stap(1), stapprobes(3stap)
--- IBM