Vibe.OTP (vibe v0.2.2)

Copy Markdown View Source

Small OTP/runtime introspection helpers intended for Vibe.Eval.

Summary

Functions

ets_tables(opts \\ [])

@spec ets_tables(keyword()) :: [map()]

process_at(sort \\ :memory, index \\ 1)

@spec process_at(:memory | :reductions | :message_queue_len, pos_integer()) ::
  pid() | nil

process_info(process)

@spec process_info(
  pid()
  | atom()
  | String.t()
  | {:pid, pid()}
  | {:registered, atom() | String.t()}
) ::
  map() | nil

runtime_info()

@spec runtime_info() :: map()

supervision_tree(root \\ nil, opts \\ [])

@spec supervision_tree(
  module() | pid() | atom() | nil,
  keyword()
) :: map() | nil

top(sort \\ :memory, opts \\ [])

@spec top(
  :memory | :reductions | :message_queue_len,
  keyword()
) :: [map()]