Skip to main content

openrtc top

openrtc top is an htop-style live inspector for a running coroutine-mode worker. It connects to the worker’s private local socket and shows one row per live session, refreshing in place. openrtc top
The inspector needs a running coroutine-mode worker on the same host (openrtc dev ./agents or openrtc start ./agents). If none is serving the socket, openrtc top prints a “no running openrtc pool” hint instead of a traceback. Introspection is on by default; a worker started with enable_introspection=False, or in process isolation, serves no socket.

Columns

See Session Introspection for exactly how mem(MB), cpu%, and slow are computed (and their sampling caveats).

Key bindings

Numeric columns sort descending (biggest first, htop-style); text columns sort ascending.

Flags

Scope

Local pool only. Remote / production-cluster inspection and per-session drill-down are out of scope for v0.3 (table view of the local worker only). For cost, latency, and quality, use voicegateway, not openrtc top.