# LibTmux::Async::Scope#diagnostics

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

```
def 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.
