# LibTmux::Async::Scope#diagnostics

- **Module:** LibTmux::Async::Scope#
- **Package:** libtmux-async
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/c6d9d21771828e583692ca899ed817f9640d6a55/gems/libtmux-async/lib/libtmux/async/scope.rb#L89
- **Page:** https://libtmux.org/en/ruby/latest/reference/libtmux-async-scope-diagnostics/

```
LibTmux::Async::Scope#diagnostics() -> ::LibTmux::Async::scope_diagnostics
```

Frozen counters and limits from this scope, without I/O or payloads.
Process slots remain occupied until retirement; they are not a live PID count.
Valid after close on the owning thread, process and scheduler.

Behavior contract: Diagnostics.
