Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- iex> defmodule Example, do: use GenServer
- iex> {:ok, pid} = GenServer.start_link(Example, %{ping: "pong"})
- iex> Process.info pid
- [
- current_function: {:gen_server, :loop, 7},
- initial_call: {:proc_lib, :init_p, 5},
- status: :waiting,
- message_queue_len: 0,
- messages: [],
- links: [#PID<0.610.0>],
- dictionary: [
- "$initial_call": {Example, :init, 1},
- "$ancestors": [#PID<0.610.0>, #PID<0.70.0>]
- ],
- trap_exit: false,
- error_handler: :error_handler,
- priority: :normal,
- group_leader: #PID<0.60.0>,
- total_heap_size: 233,
- heap_size: 233,
- stack_size: 10,
- reductions: 27,
- garbage_collection: [
- max_heap_size: %{error_logger: true, kill: true, size: 0},
- min_bin_vheap_size: 46422,
- min_heap_size: 233,
- fullsweep_after: 65535,
- minor_gcs: 0
- ],
- suspending: []
- ]
Add Comment
Please, Sign In to add comment