Guest User

Untitled

a guest
May 22nd, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. iex> defmodule Example, do: use GenServer
  2. iex> {:ok, pid} = GenServer.start_link(Example, %{ping: "pong"})
  3. iex> Process.info pid
  4. [
  5. current_function: {:gen_server, :loop, 7},
  6. initial_call: {:proc_lib, :init_p, 5},
  7. status: :waiting,
  8. message_queue_len: 0,
  9. messages: [],
  10. links: [#PID<0.610.0>],
  11. dictionary: [
  12. "$initial_call": {Example, :init, 1},
  13. "$ancestors": [#PID<0.610.0>, #PID<0.70.0>]
  14. ],
  15. trap_exit: false,
  16. error_handler: :error_handler,
  17. priority: :normal,
  18. group_leader: #PID<0.60.0>,
  19. total_heap_size: 233,
  20. heap_size: 233,
  21. stack_size: 10,
  22. reductions: 27,
  23. garbage_collection: [
  24. max_heap_size: %{error_logger: true, kill: true, size: 0},
  25. min_bin_vheap_size: 46422,
  26. min_heap_size: 233,
  27. fullsweep_after: 65535,
  28. minor_gcs: 0
  29. ],
  30. suspending: []
  31. ]
Add Comment
Please, Sign In to add comment