function::proc_mem_size(3stap)

function::proc_mem_size3stap

Total program virtual memory size in pages

Usage

1) proc_mem_size:long()
2) proc_mem_size:long(pid:long)

Arguments

pid

The pid of process to examine

Overview

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.

See ALSO0

tapset::proc_mem(3stap)

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

From systemtap-doc 5.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.