1FUNCTION::PROC_MEM_S(3stap) Memory Tapset FUNCTION::PROC_MEM_S(3stap)
2
3
4
6 function::proc_mem_size - Total program virtual memory size in pages
7
9 1) proc_mem_size:long()
10
11 2) proc_mem_size:long(pid:long)
12
14 pid
15 The pid of process to examine
16
18 1) Returns the total virtual memory size in pages of the current
19 process, or zero when there is no current process or the number of
20 pages couldn't be retrieved.
21
22 2) Returns the total virtual memory size in pages of the given process,
23 or zero when that process doesn't exist or the number of pages couldn't
24 be retrieved.
25
27 tapset::proc_mem(3stap)
28
29
30
31SystemTap Tapset Reference November 2020 FUNCTION::PROC_MEM_S(3stap)