# libtmux.Server.list_clients

- **Module:** libtmux.Server
- **Package:** libtmux
- **Language:** Python
- **Kind:** method
- **Source:** https://github.com/tmux-python/libtmux/blob/036c521c4b83ce6e434eb50afe2a0d08a6a05e46/src/libtmux/server.py#L2146
- **Page:** https://libtmux.org/reference/py/libtmux-server-list_clients/

```
libtmux.Server.list_clients(self) -> list[str]
```

List connected clients via ``$ tmux list-clients``.

## Returns

list[str]
    Raw output lines from list-clients.

## Example

```python
>>> isinstance(server.list_clients(), list)
True
```
