# libtmux.Server.list_clients

- **Module:** libtmux.Server
- **Package:** libtmux
- **Language:** Python
- **Kind:** method
- **Source:** https://github.com/tmux-python/libtmux/blob/9fdd083a8181a827889337b63cd4e6daea661a8c/src/libtmux/server.py#L2146
- **Page:** https://libtmux.org/en/py/latest/reference/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
```
