---
name: "function::proc_mem_string_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_string_pid"
---

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

Human readable string of process memory usage

## NAME

function::proc\_mem\_string\_pid - Human readable string of process memory usage

## SYNOPSIS

```
    proc_mem_string_pid:string(pid:long)
```

## ARGUMENTS

*pid*

The pid of process to examine

## DESCRIPTION

Returns a human readable string showing the size, rss, shr, txt and data of the memory used by the given process. For example “size: 301m, rss: 11m, shr: 8m, txt: 52k, data: 2248k”.
