---
name: "function::proc_mem_txt_pid"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "2.6-0.2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/function::proc_mem_txt_pid"
---

# function::proc\_mem\_txt\_pid(3stap)

Program text (code) size in pages

## NAME

function::proc\_mem\_txt\_pid - Program text (code) size in pages

## SYNOPSIS

```
    proc_mem_txt_pid:long(pid:long)
```

## ARGUMENTS

*pid*

The pid of process to examine

## DESCRIPTION

Returns the given process text (code) size in pages, or zero when the process doesn't exist or the number of pages couldn't be retrieved.
