# tmux_control:status/1

- **Package:** libtmux_erlang
- **Language:** Erlang
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-erlang/blob/d1b6308440cf9eb8f6647e7ae434bce60e849368/apps/libtmux_erlang/src/tmux_control.erl#L97
- **Page:** https://libtmux.org/en/erlang/latest/reference/tmux_control-status-1/

```
status(Control)
-spec status(t()) -> {ok, state()} | {error, map()}.
```

Read retained connection state without a tmux command. Inspect cleanup rather than inferring native exit from the Erlang owner's lifecycle. Closed handles expire after 60 seconds and then return control_expired.

## Parameters

- `Control` (`t()`)
