1TAPSET::PROC_MEM(3stap) TAPSET::PROC_MEM(3stap)
2
3
4
6 tapset::proc_mem - systemtap proc_mem tapset
7
8
10 Process memory query and utility functions provide information about
11 the memory usage of the current application. These functions provide
12 information about the full size, resident, shared, code and data used
13 by the current process. And provide utility functions to query the
14 page size of the current architecture and create human readable string
15 representations of bytes and pages used.
16
17
18
19 proc_mem_size
20 Total program virtual memory size in pages
21
22 See function::proc_mem_size(3stap)
23 for details.
24
25 proc_mem_size
26 Total program virtual memory size in pages
27
28 See function::proc_mem_size(3stap)
29 for details.
30
31 proc_mem_rss
32 Program resident set size in pages
33
34 See function::proc_mem_rss(3stap)
35 for details.
36
37 proc_mem_rss
38 Program resident set size in pages
39
40 See function::proc_mem_rss(3stap)
41 for details.
42
43 proc_mem_shr
44 Program shared pages (from shared mappings)
45
46 See function::proc_mem_shr(3stap)
47 for details.
48
49 proc_mem_shr
50 Program shared pages (from shared mappings)
51
52 See function::proc_mem_shr(3stap)
53 for details.
54
55 proc_mem_txt
56 Program text (code) size in pages
57
58 See function::proc_mem_txt(3stap)
59 for details.
60
61 proc_mem_txt
62 Program text (code) size in pages
63
64 See function::proc_mem_txt(3stap)
65 for details.
66
67 proc_mem_data
68 Program data size (data + stack) in pages
69
70 See function::proc_mem_data(3stap)
71 for details.
72
73 proc_mem_data
74 Program data size (data + stack) in pages
75
76 See function::proc_mem_data(3stap)
77 for details.
78
79 mem_page_size
80 Number of bytes in a page for this architecture
81
82 See function::mem_page_size(3stap)
83 for details.
84
85 bytes_to_string
86 Human readable string for given bytes
87
88 See function::bytes_to_string(3stap)
89 for details.
90
91 pages_to_string
92 Turns pages into a human readable string
93
94 See function::pages_to_string(3stap)
95 for details.
96
97 proc_mem_string
98 Human readable string of process memory usage
99
100 See function::proc_mem_string(3stap)
101 for details.
102
103 proc_mem_string
104 Human readable string of process memory usage
105
106 See function::proc_mem_string(3stap)
107 for details.
108
109
111 function::proc_mem_size(3stap), function::proc_mem_rss(3stap),
112 function::proc_mem_shr(3stap), function::proc_mem_txt(3stap),
113 function::proc_mem_data(3stap), function::mem_page_size(3stap),
114 function::bytes_to_string(3stap), function::pages_to_string(3stap),
115 function::proc_mem_string(3stap), stap(1), stapprobes(3stap)
116
117
118
119SystemTap Tapset Reference May 2021 TAPSET::PROC_MEM(3stap)