# pid

Source: https://libtmux.org/en/tmux/3.2a/catalog/formats/pid/

> Server PID

format variable tmux3.2a

Server PID

* Scope

  Describes the server being formatted

* Type

  Text

* Usage

  `#{pid}`

## Description[#](https://libtmux.org/en/tmux/3.2a/catalog/formats/pid/#description)

Server PID

## Releases[#](https://libtmux.org/en/tmux/3.2a/catalog/formats/pid/#releases)

* [tmux 3.7c](https://libtmux.org/en/tmux/3.7c/catalog/formats/pid/) : present
* [tmux 3.2a](https://libtmux.org/en/tmux/3.2a/catalog/formats/pid/) : present

## Source[#](https://libtmux.org/en/tmux/3.2a/catalog/formats/pid/#source)

* Defined in

  [`format.c:2801`](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/format.c#L2801)

* C source reference

  [`format_cb_pid`](https://libtmux.org/en/tmux/3.2a/reference/c-function-format-c-format_cb_pid/)

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/3.2a/manual/full/#pid)

## Used by[#](https://libtmux.org/en/tmux/3.2a/catalog/formats/pid/#used-by)

Library documentation that names this format variable.

* Python

  [`libtmux.Server.display_message`](https://libtmux.org/en/py/latest/reference/libtmux-server-display_message/)

* Swift

  [`reaperCommand(root:)`](https://libtmux.org/en/swift/latest/reference/reapercommand\(root-\)/), [`Server.format(_:)`](https://libtmux.org/en/swift/latest/reference/server-format\(_-\)/)
