OS Manuals

function::proc_mem_size(3stap)

function::proc_mem_size - Total program virtual memory size in pages

FUNCTION::PROC_MEM_S(3stap) Memory Tapset FUNCTION::PROC_MEM_S(3stap)

function::proc_mem_size - Total program virtual memory size in pages

1) proc_mem_size:long()

2) proc_mem_size:long(pid:long)

pid

The pid of process to examine

1) Returns the total virtual memory 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 total virtual memory size in pages of the given process, or zero when that process doesn't exist or the number of pages couldn't be retrieved.

tapset::proc_mem(3stap)

September 2026 SystemTap Tapset Reference Ver

systemtap 5.6-r1 · enterprise-packages · ingested 2026-10-14