defmodule Phoenix.LiveDashboard.ProcessInfoComponent do use Phoenix.LiveDashboard.Web, :live_component alias Phoenix.LiveDashboard.SystemInfo @info_keys [ :registered_name, :current_function, :initial_call, :status, :message_queue_len, :links, :monitors, :monitored_by, :trap_exit, :error_handler, :priority, :group_leader, :total_heap_size, :heap_size, :stack_size, :reductions, :garbage_collection, :suspending, :current_stacktrace ] @impl true def render(assigns) do ~L"""
| Registered name | <%= @registered_name %> |
| Current function | <%= @current_function %> |
| Initial call | <%= @initial_call %> |
| Status | <%= @status %> |
| Message queue length | <%= @message_queue_len %> |
| Links | <%= @links %> |
| Monitors | <%= @monitors %> |
| Monitored by | <%= @monitored_by %> |
| Trap exit | <%= @trap_exit %> |
| Error handler | <%= @error_handler %> |
| Priority | <%= @priority %> |
| Group leader | <%= @group_leader %> |
| Total heap size | <%= @total_heap_size %> |
| Heap size | <%= @heap_size %> |
| Stack size | <%= @stack_size %> |
| Reductions | <%= @reductions %> |
| Garbage collection | <%= @garbage_collection %> |
| Suspending | <%= @suspending %> |
| Current stacktrace | <%= @current_stacktrace %> |