1FUNCTION::PROC_MEM_S(3stap) Memory Tapset FUNCTION::PROC_MEM_S(3stap)
2
3
4
6 function::proc_mem_string - Human readable string of process memory
7 usage
8
10 1) proc_mem_string:string()
11
12 2) proc_mem_string:string(pid:long)
13
15 pid
16 The pid of process to examine
17
19 1) Returns a human readable string showing the size, rss, shr, txt and
20 data of the memory used by the current process. For example“size: 301m,
21 rss: 11m, shr: 8m, txt: 52k, data: 2248k”.
22
23 2) Returns a human readable string showing the size, rss, shr, txt and
24 data of the memory used by the given process. For example“size: 301m,
25 rss: 11m, shr: 8m, txt: 52k, data: 2248k”.
26
28 tapset::proc_mem(3stap)
29
30
31
32SystemTap Tapset Reference April 2023 FUNCTION::PROC_MEM_S(3stap)