# tapset::proc_mem

## 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**
                  Total program virtual memory size in pages
    
                  See function::proc_mem_size(3stap)
                   for details.
    
           **proc_mem_rss**
                  Program resident set size in pages
    
                  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 (from shared mappings)
    
                  See function::proc_mem_shr(3stap)
                   for details.
    
           **proc_mem_shr**
                  Program shared pages (from shared mappings)
    
                  See function::proc_mem_shr(3stap)
                   for details.
    
           **proc_mem_txt**
                  Program text (code) size in pages
    
                  See function::proc_mem_txt(3stap)
                   for details.
    
           **proc_mem_txt**
                  Program text (code) size in pages
    
                  See function::proc_mem_txt(3stap)
                   for details.
    
           **proc_mem_data**
                  Program data size (data + stack) in pages
    
                  See function::proc_mem_data(3stap)
                   for details.
    
           **proc_mem_data**
                  Program data size (data + stack) in pages
    
                  See function::proc_mem_data(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 process memory usage
    
                  See function::proc_mem_string(3stap)
                   for details.
    
           **proc_mem_string**
                  Human readable string of process memory usage
    
                  See function::proc_mem_string(3stap)
                   for details.
    


* * *