---
name: "function::proc_mem_shr_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_shr_pid"
---

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

Program shared pages (from shared mappings)

## NAME

function::proc\_mem\_shr\_pid - Program shared pages (from shared mappings)

## SYNOPSIS

```
    proc_mem_shr_pid:long(pid:long)
```

## ARGUMENTS

*pid*

The pid of process to examine

## DESCRIPTION

Returns the shared pages (from shared mappings) of the given process, or zero when the process doesn't exist or the number of pages couldn't be retrieved.
