1FUNCTION::PROC_MEM_D(3stap) Memory Tapset FUNCTION::PROC_MEM_D(3stap)
2
3
4
6 function::proc_mem_data - Program data size (data + stack) in pages
7
9 1) proc_mem_data:long()
10
11 2) proc_mem_data:long(pid:long)
12
14 pid
15 The pid of process to examine
16
18 1) Returns the current process data size (data + stack) in pages, or
19 zero when there is no current process or the number of pages couldn't
20 be retrieved.
21
22 2) Returns the given process data size (data + stack) in pages, or zero
23 when the process doesn't exist or the number of pages couldn't be
24 retrieved.
25
27 tapset::proc_mem(3stap)
28
29
30
31SystemTap Tapset Reference May 2022 FUNCTION::PROC_MEM_D(3stap)