1FUNCTION::PROC_MEM_R(3stap) Memory Tapset FUNCTION::PROC_MEM_R(3stap)
2
3
4
6 function::proc_mem_rss - Program resident set size in pages
7
9 1) proc_mem_rss:long()
10
11 2) proc_mem_rss:long(pid:long)
12
14 pid
15 The pid of process to examine
16
18 1) Returns the resident set size in pages of the current process, or
19 zero when there is no current process or the number of pages couldn't
20 be retrieved.
21
22 2) Returns the resident set size in pages of the given process, 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_R(3stap)