# LibTmux::Server#diagnostics

- **Module:** LibTmux::Server#
- **Package:** libtmux
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/c6d9d21771828e583692ca899ed817f9640d6a55/gems/libtmux/lib/libtmux/server.rb#L126
- **Page:** https://libtmux.org/en/ruby/latest/reference/libtmux-server-diagnostics/

```
LibTmux::Server#diagnostics() -> { admitted_requests: ::Integer, reserved_process_slots: ::Integer, control_connections: ::Integer, closed: bool, limits: { max_requests: ::Integer, max_controls: ::Integer, close_timeout: ::Numeric } }
```

Returns a frozen local snapshot, including after close. Slots are admitted
requests; control connections are retained registrations, not OS clients.

Behavior contract: Diagnostics.
