# Function showHealth

- showHealth(container?: DIContainer): void

  Display health check / diagnostics.

  Combines a static capability report with a dynamic health snapshot produced by HealthService.

  When called without a `container`, a fresh DIContainer is created via createDefaultContainer. Metrics and rate-limiter state will reflect a new process baseline (useful for CLI `--health` diagnostics). Pass a live container to report actual runtime state from an active server.

  #### Parameters

  - `Optional` container: DIContainer

    Optional DI container to resolve services from. Defaults to a new container created by createDefaultContainer.

  #### Returns void

  - Defined in server/cli.ts:106