# libtmux.Server.attached_sessions

- **Module:** libtmux.Server
- **Package:** libtmux
- **Language:** Python
- **Kind:** property
- **Source:** https://github.com/tmux-python/libtmux/blob/9fdd083a8181a827889337b63cd4e6daea661a8c/src/libtmux/server.py#L414
- **Page:** https://libtmux.org/en/py/latest/reference/libtmux-server-attached_sessions/

```
libtmux.Server.attached_sessions(self) -> list[Session]
```

Return active :class:`Session` instances.

## Returns

list[:class:`Session`]
    Sessions that are attached.

## Example

```python
>>> server.attached_sessions
[]
```
