DOKK / manpages / debian 12 / systemtap-doc / function::proc_mem_rss.3stap.en
FUNCTION::PROC_MEM_R(3stap) Memory Tapset FUNCTION::PROC_MEM_R(3stap)

function::proc_mem_rss - Program resident set size in pages

1) proc_mem_rss:long()

2) proc_mem_rss:long(pid:long)

pid

The pid of process to examine

1) Returns the resident set size in pages of the current process, or zero when there is no current process or the number of pages couldn't be retrieved.

2) Returns the resident set size in pages of the given process, or zero when the process doesn't exist or the number of pages couldn't be retrieved.

tapset::proc_mem(3stap)

November 2022 SystemTap Tapset Reference